Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Update(){
- if (EditorApplication.isPlaying)
- {
- FocusWindowIfItsOpen(Type.GetType("UnityEditor.GameView"));
- }
- }
- EditorApplication.ExecuteMenuItem("Window/General/Game");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement