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

Constructors