Caution
Package deprecated and replaced with - Better Commons
Collections of useful tools for Unity Editor. Such as:
- DrawerHelpers
- Better drop down
- MultiEditor
[BetterEditor(typeof(CustomClass), true, Order = 999, OverrideDefaultEditor = false)]
public class CustomEditor : EditorExtension
{
public CustomEditor(Object target, SerializedObject serializedObject) : base(target, serializedObject)
{
}
public override void OnDisable()
{
//This method called than editor disables
}
public override void OnEnable()
{
//This method called just right after instance created
}
public override void OnInspectorGUI()
{
//Use to draw your inspector
}
public override void OnChanged()
{
//Called when object data in editor is changed
}
}