Example #1
0
 private void OnTriggerEnter(Collider other)
 {
     scoreHandler.AddCoin();
     Destroy(gameObject);
 }