Beispiel #1
0
 public void PlayLandSound()
 {
     if (audioTarget != null)
     {
         audioTarget.PlayLandSound();
     }
 }
Beispiel #2
0
 private void InternalPlayLandSound()
 {
     if (audioType == AudioTypes.Standard)
     {
         PlayLandSound();
     }
     else if (audioType == AudioTypes.Custom && customBehaviour != null)
     {
         customBehaviour.PlayLandSound();
     }
 }