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();
            }