protected virtual void DrawIndex()
 {
     if (index != null)
     {
         index.Draw();
     }
 }
Пример #2
0
            protected virtual void DrawIndex()
            {
                EditorGUI.BeginChangeCheck();
                index.Draw();
                if (EditorGUI.EndChangeCheck())
                {
                    serializedObject.ApplyModifiedProperties();

                    target.NavigateTo(index.Index);
                }
            }
            public override void OnInspectorGUI()
            {
                EditorGUILayout.Space();

                EditorGUI.BeginChangeCheck();
                index.Draw();
                if (EditorGUI.EndChangeCheck())
                {
                    serializedObject.ApplyModifiedProperties();

                    target.NavigateTo(index.Index);
                }

                tabs.Draw();

                serializedObject.ApplyModifiedProperties();
            }
Пример #4
0
            protected virtual void DrawValue()
            {
                EditorGUILayout.Space();

                value.Draw();
            }