Class EditorPlugin
Base class for all plugins used in Editor.
Namespace: FlaxEditor
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public abstract class EditorPlugin : Plugin
Remarks
Plugins should have a public and parameter-less constructor.
Constructors
EditorPlugin()
Properties
Editor
Gets the editor instance. Use it to extend the editor.
Declaration
public Editor Editor { get; }
Property Value
Editor
|
GamePluginType
Gets the type of the GamePlugin that is related to this plugin. Some plugins may be used only in editor while others want to gave a runtime representation. Use this property to link the related game plugin.
Declaration
public virtual Type GamePluginType { get; }
Property Value
System.Type
|
Methods
DeinitializeEditor()
Cleanup method called when this plugin is initialized and Editor is disposing (before plugin disposing). Use this method to remove any custom editor functionalities created within InitializeEditor.
Declaration
public virtual void DeinitializeEditor()
InitializeEditor()
Initialization method called when this plugin is loaded and the Editor is after initialization. Use this method to add custom editor functionalities or override the existing ones.
Declaration
public virtual void InitializeEditor()