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