private void drawEventTable(SerializedProperty property) { if (_tableEditor == null) { _tableEditor = new EnumEventTableEditor(property, typeof(TransformTweenBehaviour.EventType)); } _tableEditor.DoGuiLayout(); }
private void drawEventTable(SerializedProperty property) { if (_tableEditor == null) { _tableEditor = new EnumEventTableEditor(property, typeof(Anchor.EventType)); } _tableEditor.DoGuiLayout(); }
protected override void OnEnable() { base.OnEnable(); _tableProp = serializedObject.FindProperty("_table"); _tableEditor = new EnumEventTableEditor(_tableProp, typeof(OnUnityCallback.CallbackType)); specifyCustomDrawer("_table", drawTable); }