Пример #1
0
 public static EditorWindow[] GetGameViews()
 {
     return(ReflectionUtility.FindClass("UnityEditor.GameView").GetFieldValue <IList>("s_GameViews").Cast <EditorWindow>().ToArray());
 }
 static FullscreenPreferences()
 {
     ReloadPreferences();
     preferenceWindowType = ReflectionUtility.FindClass("UnityEditor.PreferencesWindow");
 }
Пример #3
0
 public static EditorWindow GetMainGameView()
 {
     return(ReflectionUtility.FindClass("UnityEditor.GameView").InvokeMethod <EditorWindow>("GetMainGameView"));
 }