Editor Extensions are the basis for all player specific, editor specific functionality within the game. Almost all editor functionality is exported and available within the context of an ExtensionContext When the script manager initializes during level loading, the scripts are loaded from the behavior packs and executed. As part of the global execution context, the scripts are free to register any number of extensions. An Editor Extension is defined a name, an activation function and a shutdown function.

It is not recommended to directly use this function as the contract is not guaranteed to be stable, instead prefer registerEditorExtension as it provides additional functionality and a stable contract.

Hierarchy

  • Extension

Constructors

Properties

defaultToolGroupId: string

Remarks

Default identifier for tool rail grouping. All modal tools created from the extension will use this.

description: string

Remarks

Description specified during registration for the extension.

name: string

Remarks

Name of the extension.

notes: string

Remarks

Notes specified during registration for the extension.