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