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