Home > Software engineering >  how to exit the center the Scene view on a GameObject view mode?
how to exit the center the Scene view on a GameObject view mode?

Time:06-14

"

Center the view on a GameObject To center the Scene view on a GameObject, select the GameObject in the Hierarchy, then move the mouse over the Scene view and press F. If the GameObject is already selected, F zooms in to the pivot point. This feature can also be found in the menu bar under Edit > Frame Selected.

To lock the view to the GameObject even when the GameObject is moving, press Shift F. This feature is also in the menu bar under Edit > Lock View to Selected.

Unity doc

"

so after pressing f what should I do to exit that view mode?

CodePudding user response:

F to zoom isn't a mode so there's no mode to exit. Shift f to lock the frame locks it until a key is pressed that would pan the camera. I can't remember if mouse look will break the lock but I know adjusting position does.

If you think your camera is stuck and you can't pan or mouse look then you might be in Game View; there should be another tab at the top of the viewport window to go to Scene View that lets you move around.

  • Related