https://github.com/zweigstudio/GameViewFocus
Save yourself a click and automatically focus the Game View when entering Play Mode
https://github.com/zweigstudio/GameViewFocus
extension unity unity-editor unity3d unity3d-plugin
Last synced: 10 months ago
JSON representation
Save yourself a click and automatically focus the Game View when entering Play Mode
- Host: GitHub
- URL: https://github.com/zweigstudio/GameViewFocus
- Owner: zweigstudio
- License: mit
- Created: 2024-01-01T18:44:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-13T11:45:06.000Z (over 1 year ago)
- Last Synced: 2025-05-31T23:54:36.981Z (about 1 year ago)
- Topics: extension, unity, unity-editor, unity3d, unity3d-plugin
- Language: C#
- Homepage: https://zweig.studio
- Size: 19.5 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
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:
1. This package is available on [OpenUPM](https://openupm.com/), the Open Source Unity Package Registry. You can install it via [openupm-cli](https://github.com/openupm/openupm-cli#openupm-cli) with `openupm add com.zweigstudio.gameviewfocus`
2. Download the latest [GameViewFocus.unitypackage](https://github.com/zweigstudio/GameViewFocus/releases) 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](https://github.com/zweigstudio/GameViewFocus/issues/new) first to discuss what you would like to change.