For the complete documentation index, see llms.txt. This page is also available as Markdown.

Camera Controller

Under the Camera Motion Controller object, we have our Main Camera, which has a PlayerCameraController.cs script attached to it. This script is a smooth camera controller for first-person games.

PlayerCameraController.cs in Main Camera.

For now, our player does have the shooting functionality, thanks to our Tutorial.cs script, but it doesn't have a weapon. Let's change that in the next section.

Last updated