유니티 충돌시 폭파 펑

using UnityEngine; 
using System.Collections; 
 
public class TongEvent : MonoBehaviour { 
    /* 
        이전 스크립트 재사용 
                           */ 
 
    public GameObject Explosion; 
  // Use this for initialization 
  void Start () { 
   
  } 
   
  // Update is called once per frame 
  void Update () { 
   
  } 
 
    void OnCollisionEnter(Collision target) 
    { 
        if(target.gameObject.tag == "Bullet") //총알과 충돌시 
        { 
            //ShootZone.score += 10; //점수증가 
 
            Instantiate(Explosion, transform.position, transform.rotation); 
            //폭발!! 
            Destroy(gameObject, 0.5f); //우주선 삭제 
        } 
    } 
}