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
GamePluginType
Gets the type of the Game
Declaration
public virtual Type GamePluginType { get; }
Property Value
System.
|
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()