Esempio n. 1
0
 public override void OnInspectorGUI()
 {
     if (GUILayout.Button("OPEN CONFIGURATION"))
     {
         ConfigurationInspector.OpenConfigurationEditor(typeof(CONF_TYPE));
     }
     if (GUILayout.Button("EDIT IN DESIGNER"))
     {
         GameDesignerEditor.InitWithSelectedKey(typeof(DESIGN_TYPE));
     }
     base.OnInspectorGUI();
 }
Esempio n. 2
0
 public static GameDesignerEditor OpenConfigurationEditor(Type targetType)
 {
     return(GameDesignerEditor.InitWithSelectedKey(targetType));
 }