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