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