public override void OnInspectorGUI() { DrawDefaultInspector(); if (GUILayout.Button("Edit")) { SpaceMapGraphWindow.ShowEditor((SpaceMapGraph)target); } }
public override void ShowEditor(Object objectReferenceValue) { SpaceMapGraphWindow.ShowEditor((SpaceMapGraph)objectReferenceValue); }