Beispiel #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Player") && GetComponent <Renderer>().enabled)
     {
         GetComponent <AudioSource>().Play();
         parent.Next();
     }
 }