/// <summary> /// Sets the cameras. /// </summary> public void SetCameras() { if (CameraController != null) { // Make sure to set the initial direction of the camera // to match the game player direction CameraController.SetOrientationOffset(OrientationOffset); CameraController.SetYRotation(YRotation); CameraController.SetXRotation(XRotation); } }