Beispiel #1
0
        public static void OpenPreferences()
        {
            Preferences.sharedInstance = null;
            var window = EditorLayout.GetWindow <PreferencesWindow>(
                "Entitas " + CheckForUpdates.GetLocalVersion(),
                new Vector2(415f, 600));

            window.preferencesName = "Entitas";
            window.Show();
        }
Beispiel #2
0
 public static void OpenMigrate()
 {
     EditorLayout
     .GetWindow <MigrationWindow>("Entitas Migration - " + CheckForUpdates.GetLocalVersion(), new Vector2(415f, 564))
     .Show();
 }