예제 #1
0
        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();
        }
예제 #2
0
 public static void OpenPreferences()
 {
     EntitasEditorLayout.ShowWindow <PreferencesWindow>("Entitas " + CheckForUpdates.GetLocalVersion());
 }