예제 #1
0
        public override void OnInspectorGUI()
        {
            DrawDefaultInspector();

            if (GUILayout.Button("Edit"))
            {
                Shape2GraphWindow.ShowEditor((Shape2Graph)target);
            }
        }
예제 #2
0
 public override void ShowEditor(Object objectReferenceValue)
 {
     Shape2GraphWindow.ShowEditor((Shape2Graph)objectReferenceValue);
 }