示例#1
0
        public override void OnInspectorGUI()
        {
            DrawDefaultInspector();

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