Preparing search index...

    Interface for package-level actions.

        // Resolve IPackageActions to access package and script export functionality.
    const actions = this.pluginSystem.findInterface(
    Editor.IPackageActions.interfaceId
    ) as Editor.IPackageActions;
    if (Editor.isNull(actions)) {
    console.log('IPackageActions not available');
    return;
    }
    console.log('IPackageActions resolved successfully');
    // actions.exportPackage(descriptor, path, exportOptions) exports a native package
    // actions.exportScript(scriptAsset, path, exportOptions) exports a script asset

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    interfaceId: InterfaceId

    Methods

    • Parameters

      Returns void

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean