Esempio n. 1
0
 private void onComingPlayer()
 {
     if (isNearPlayer(0.3f))
     {
         Personal.AddCoin(1);
         SoundManager.PLayOneShot("Collect Coin", 0.1f);
         Destroy(gameObject);
     }
 }