public static void OpenPreferences() { Preferences.sharedInstance = null; var window = EditorLayout.GetWindow <PreferencesWindow>( "Entitas " + CheckForUpdates.GetLocalVersion(), new Vector2(415f, 600)); window.preferencesName = "Entitas"; window.Show(); }
public static void OpenPreferences() { var window = GetWindow <EntitasPreferencesWindow>(true, "Entitas " + CheckForUpdates.GetLocalVersion()); window.minSize = new Vector2(415f, 348f); window.Initialize( "Entitas.properties", Environment.UserName + ".userproperties", "Entitas.Unity.Editor.EntitasPreferencesDrawer", "Entitas.VisualDebugging.Unity.Editor.VisualDebuggingPreferencesDrawer" ); window.Show(); }
public static void OpenPreferences() { EntitasEditorLayout.ShowWindow <PreferencesWindow>("Entitas " + CheckForUpdates.GetLocalVersion()); }