Search Results for

    Show / Hide Table of Contents

    Class EditorPlugin

    Base class for all plugins used in Editor.

    Inheritance
    System.Object
    Object
    Plugin
    EditorPlugin
    Inherited Members
    Plugin.Initialize()
    Plugin.Deinitialize()
    Plugin._description
    Plugin.Description
    Object.__unmanagedPtr
    Object.__internalId
    Object.Finalize()
    Object.As<T>()
    Object.NewValue(Type)
    Object.New(String)
    Object.Find<T>(Guid, Boolean)
    Object.Find(Guid, Type, Boolean)
    Object.TryFind<T>(Guid)
    Object.TryFind(Guid, Type)
    Object.Destroy(Object, Single)
    Object.DestroyNow(Object)
    Object.Destroy<T>(T, Single)
    Object.Equals(Object)
    Object.GetUnmanagedPtr(Object)
    Object.GetUnmanagedInterface(Object, Type)
    Object.FromUnmanagedPtr(IntPtr)
    Object.MapObjectID(Guid)
    Object.RemapObjectID(Guid)
    Object.GetHashCode()
    Object.ID
    Object.TypeName
    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()

    Initializes a new instance of the EditorPlugin.

    Declaration
    protected 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()

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)

    See Also

    Plugin
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat