コード例 #1
0
 private void OnTriggerEnter2D(Collider2D other)
 {
     if (canReceiver && other.CompareTag("Player"))
     {
         AudioManager.Instance.PlaySound3WithTime("Voices/" + "Money", 0.0f);
         psc.CoinAdd(coinValue);
         Destroy(gameObject);
     }
 }