Unity Tip: Lock camera preview window

When working in unity sometimes you would like to adjust objects position taking in consideration a specific camera angle.

Unity has a lock mode for inspector, the way it works is it keeps the information of a game object or an asset open and visible, even if you click on any other object in the scene or form project browser, until you unlock the inspector.

You can add other inspector window by using “Add Tab” to have one inspector window locked and the other one not, it could be helpful in so many scenarios.

To keep camera window locked while working and selecting other objects, you have to select the camera and activate lock mode in the inspector, it’s easy !

Below is an example from a game I am working on:

Hope you find this tip useful.


Passionate game developer with +10 years of experience. Fluent in Unity3D & Unreal Engine 5. Worked as main programmer on The Dark Occult game (UE4), developed +40 games (vertical slices) and created few tools and assets for both engines. Currently helping the #gamedev community by making tools and writing tutorials at GAMEDEVWORKS.

You may also like...

1 Response

  1. awerty says:

    Thanks man 👍🏻

Leave a Reply

Your email address will not be published. Required fields are marked *