SuperBehaviour SuperBehaviour
SuperBehaviour SuperBehaviour
v0.1.2 [Beta]

Search Results for

    Class SuperEditor<T>

    Namespace
    LoM.Super.Editor
    Assembly
    LoM.Super.Editor.dll

    Derive from this base class to create a custom inspector or editor for your SuperBehaviour object.

    public abstract class SuperEditor<T> : Editor where T : SuperBehaviour

    Type Parameters

    T
    Inheritance
    object
    Object
    ScriptableObject
    Editor
    SuperEditor<T>
    Derived
    SuperBehaviourInspector

    Properties

    target

    The target object of this editor

    public T target { get; }

    Property Value

    T

    targets

    The target objects of this editor

    public T[] targets { get; }

    Property Value

    T[]

    Methods

    AfterOnDisable()

    Implement this function to use the OnDisable function.

    protected virtual void AfterOnDisable()

    AfterOnEnable()

    Implement this function to use the OnEnable function.

    protected virtual void AfterOnEnable()

    DrawDefaultInspector()

    Implement this function to override the properties inspector.

    public void DrawDefaultInspector()

    OnInspectorFieldsGUI()

    Implement this function to make a custom inspector.

    public virtual void OnInspectorFieldsGUI()

    OnInspectorGUI()

    Override OnInspectorFieldsGUI or OnInspectorPropertiesGUI instead

    public override sealed void OnInspectorGUI()

    OnInspectorPropertiesGUI()

    Implement this function to override the properties inspector.

    public virtual void OnInspectorPropertiesGUI()

    ShowScript()

    Returns if script should be displayed in inspector

    public virtual bool ShowScript()

    Returns

    bool
    © Lords of Mahlstrom Gaming, all rights reserved.