예제 #1
0
 public void OnTriggerEnter2D(Collider2D col)
 {
     if (col.gameObject.tag == "Player")
     {
         playerScript.PlayerGrow();
         Destroy(this.gameObject);
     }
 }