diff --git a/Project Undercover/Assets/Scripts/Guard/GuardController.cs b/Project Undercover/Assets/Scripts/Guard/GuardController.cs index 808f410..6e83b79 100755 --- a/Project Undercover/Assets/Scripts/Guard/GuardController.cs +++ b/Project Undercover/Assets/Scripts/Guard/GuardController.cs @@ -6,14 +6,14 @@ public class GuardController : Photon.PunBehaviour { public Text cameraStatusText; - const float CAMERA_SENSITIVITY = 120.0f; + const float CAMERA_SENSITIVITY = 120.0f; private int mCurrentCamera; // -1 means preview mode private List mCameras; private bool mInControl; - void Start() + void Start() { // Fetch all cameras mCameras = new List(); @@ -127,7 +127,7 @@ public class GuardController : Photon.PunBehaviour { { UpdateSingle(); } - } + } void UpdatePreviewMode() { @@ -205,5 +205,5 @@ public class GuardController : Photon.PunBehaviour { float xRotation = Time.deltaTime * Input.GetAxis("Horizontal") * CAMERA_SENSITIVITY; float yRotation = Time.deltaTime * -Input.GetAxis("Vertical") * CAMERA_SENSITIVITY; GetCurrentGuardCamera().Rotate(xRotation, yRotation); - } -} \ No newline at end of file + } +}