Example #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Player"))
     {
         cameraFollower.Rotate(rotation, distance, duration, pivotOffset, curve);
     }
 }