Assets/Scripts/Camera/CameraMovement.cs
/// <summary>
/// FixedUpdate() is used here to control manual movement when the controller is disabled
/// The camera is rotated by the rotationSpeed based on the horizontal input from the player
/// After changing the desired y rotation, Move() is run to affect the camera rotation
/// </summary>
FixedUpdate() is used here to control manual movement when the controller is disabled
The camera is rotated by the rotationSpeed based on the horizontal input from the player
After changing the desired y rotation, Move() is run to affect the camera rotation
FixedUpdate () is used here to control manual movement when the controller is disabled The camera is rotated by the rotationSpeed based on the horizontal input from the player After changing the desired y rotation Move () is run to affect the camera rotation
void FixedUpdate()
    {
        if (Input.GetAxisRaw("Horizontal") > 0)
        {
            yRot += rotationSpeed;
            Move();
        }
        else if (Input.GetAxisRaw("Horizontal") < 0)
        {
            yRot -= rotationSpeed;
            Move();
        }
    }
void FixedUpdate ( ) { if ( Input . GetAxisRaw ( " " ) > 0 ) { yRot += rotationSpeed ; Move ( ) ; } else if ( Input . GetAxisRaw ( " " ) < 0 ) { yRot -= rotationSpeed ; Move ( ) ; } }
FixedUpdate() is used here to control manual movement when the controller is disabled
The camera is rotated by the rotationSpeed based on the horizontal input from the player
After changing the desired y rotation, Move() is run to affect the camera rotation
FixedUpdate () is used here to control manual movement when the controller is disabled The camera is rotated by the rotationSpeed based on the horizontal input from the player After changing the desired y rotation Move () is run to affect the camera rotation