예제 #1
0
 void OnTriggerEnter2D(Collider2D other)
 {
     _gs.AdjustScore(coinValue);
     AudioSource.PlayClipAtPoint(coinPickupSFX, Camera.main.transform.position);
     Destroy(gameObject);
 }