void OnTriggerStay(Collider other) { if (other.tag == "Player") { cameraRotation.RotateTo(CameraRotationDirection.ToVector(targetDirection)); } }