protected virtual void DrawIndex()
 {
     if (index != null)
     {
         index.Draw();
     }
 }
Ejemplo n.º 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();
            }
Ejemplo n.º 4
0
            protected virtual void DrawValue()
            {
                EditorGUILayout.Space();

                value.Draw();
            }