Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void OnTriggerEnter(Collider other){
- int i;
- if(other.GetComponent<Collider>().tag == "Ground"){
- GameObject.Destroy(gameobject);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement