Chapter 7: Moving the View: Camera

A Camera provides the view of the game world that is displayed to the player. It follows the player or any GameObject around the game world, showing a portion of the world at a time.

  • position: The position of the camera in the game world. The game world seen by the player is relative to this position.

  • size: The size of the camera viewport. This determines how much of the game world is visible to the player at any given time.

Last updated