Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

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

Style
Preview
pkglnk installs badge
## 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
```

[![pkglnk](https://www.pkglnk.dev/badge/gameviewfocus.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/gameviewfocus)

README

Game View Focus

Game View Focus

Save yourself a click and automatically focus the Game View when entering Play Mode

Unity 2021.3+ Game View Focus on OpenUPM License: MIT

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.

Focus Dropdown

Installation

There are two ways of installing Game View Focus:

  1. This package is available on OpenUPM, the Open Source Unity Package Registry. You can install it via openupm-cli with openupm add com.zweigstudio.gameviewfocus

  2. Download the latest GameViewFocus.unitypackage from GitHub and import it manually into your project (in Unity, go to AssetsImport PackageCustom 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!