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(); }
public static GameDesignerEditor OpenConfigurationEditor(Type targetType) { return(GameDesignerEditor.InitWithSelectedKey(targetType)); }