Game View Focus
Save yourself a click and automatically focus the Game View when entering Play Mode
com.zweigstudio.gameviewfocus Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/gameviewfocus.git README Markdown
Copy this to your project's README.md
## Installation
Add **Game View Focus** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/gameviewfocus.git
```
[](https://www.pkglnk.dev/pkg/gameviewfocus)README
Game View Focus
Save yourself a click and automatically focus the Game View when entering Play Mode
About
Game View Focus is a lightweight editor extension for Unity.
In Unity versions 2021 and later, the behavior of how the Game View focuses when entering Play Mode was changed. This extension restores the original functionality by automatically focusing the Game View panel when entering Play Mode, saving you the click to do it manually.
Note: Game View Focus only takes over when the asset is toggled on and your Game View is set to Play Maximized or Play Focused.

Installation
There are two ways of installing Game View Focus:
This package is available on OpenUPM, the Open Source Unity Package Registry. You can install it via openupm-cli with
openupm add com.zweigstudio.gameviewfocusDownload the latest GameViewFocus.unitypackage from GitHub and import it manually into your project (in Unity, go to Assets → Import Package → Custom Package...).
Usage
After importing, you’ll find a new menu item under Tools called Game View Focus. Within this menu, you can easily toggle the extension on or off. If you prefer, you can also use the keyboard shortcut Shift+Alt+F.
From now on, whenever your Game View is set to Play Focused or Play Maximized, the extension will automatically activate upon entering Play Mode.
Demo
To see Game View Focus in action, you can open the Demo scene provided within the package. If not needed, you can safely discard and delete the demo folder after importing into your project.
Contributing
Pull requests are always welcome. For major changes, please open an issue first to discuss what you would like to change.
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In