systemdebt
systemdebt

Reputation: 4941

Unity background and Camera

I have my camera at 0,0,-10 and my background at 0,0,0. All my game components are in first quadrant. But, in play mode, The camera shows all four quadrants. How to get it focused on first quadrant only? I do not need to change camera position as I have been following tutorials and they have exactly the same scenario but their camera renders just the first quadrant which is what I need.

I have attached the snapshot of how it looks in the game mode. This blue thing in background is all unused space since I added my game objects starting from 0, 0 to the right.

Tutorial link : Video Tutorial(Jump to 43:30 for the game output)
enter image description here

Upvotes: 0

Views: 368

Answers (1)

Krzysztof Bociurko
Krzysztof Bociurko

Reputation: 4662

Move your camera:

  1. open both game and scene windows at the same time (click "layout" in top-right corner and select "2 by 3")

  2. select your camera in the hierarchy or scene editor

  3. drag it until the view in your game window is OK.

To scale the view, change the values of "field of view" or "size" in the camera's inspector.

Upvotes: 2

Related Questions