Beispiel #1
0
        private void drawEventTable(SerializedProperty property)
        {
            if (_tableEditor == null)
            {
                _tableEditor = new EnumEventTableEditor(property, typeof(TransformTweenBehaviour.EventType));
            }

            _tableEditor.DoGuiLayout();
        }
Beispiel #2
0
        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);
        }