// Update is called once per frame void FixedUpdate() { if (!(gameMode.getCurrentMode() is ShootMode)) { cameraMovement(); if (canRotate) { cameraRotation(); } cameraDistance(); } }