Example #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Player"))
     {
         musicManager.ChangeMusicState(musicStateOnEnter);
     }
 }