Class DistroEditor
Editor for distributions.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
UnityEditor.Editor
DistroEditor
Namespace: sttz.Trimmer.Editor
Assembly: Trimmer-Editor.dll
Syntax
[CustomEditor(typeof(DistroBase), true)]
public class DistroEditor : Editor, IPreviewable, IToolModeOwner
Remarks
The editor only handles the custom UI at the bottom, the distribution's UI is the default Unity property UI and be customized as such with attributes and property drawers.
Methods
| Improve this Doc View SourceOnEnable()
Declaration
protected void OnEnable()
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()
Overrides
UnityEditor.Editor.OnInspectorGUI()
|
Improve this Doc
View Source
RequiresConstantRepaint()
Declaration
public override bool RequiresConstantRepaint()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
UnityEditor.Editor.RequiresConstantRepaint()