public static EditorWindow[] GetGameViews() { return(ReflectionUtility.FindClass("UnityEditor.GameView").GetFieldValue <IList>("s_GameViews").Cast <EditorWindow>().ToArray()); }
static FullscreenPreferences() { ReloadPreferences(); preferenceWindowType = ReflectionUtility.FindClass("UnityEditor.PreferencesWindow"); }
public static EditorWindow GetMainGameView() { return(ReflectionUtility.FindClass("UnityEditor.GameView").InvokeMethod <EditorWindow>("GetMainGameView")); }