Quantcast
Channel: Answers for "Balls Collision and Destruction = Higher Score. HELP ME?"
Viewing all articles
Browse latest Browse all 6

Answer by UnityDevelopper

$
0
0
i not sure if this will help but change the other to collision void OnTriggerEnter(Collider collison) { if(collision.gameObject.tag == "Ball") { collision.gameObject.SetActive(false); count += 1; SetCountText(); Debug.Log ("Score" + count); Destroy(gameObject); } }

Viewing all articles
Browse latest Browse all 6

Trending Articles