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