Ejemplo n.º 1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player")
     {
         Destroy(gameObject);
         audioContainer.PlayCoinSFX();
     }
 }