Class SuperEditor<T>
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
-
SuperEditor<T>
- Derived
Properties
target
The target object of this editor
public T target { 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()