Anyway to collide with an object and then make it add 1 piont to my gui like a score like for money for example?
I already asked this question but I guess it doesnt show up when i click on my name so I being really lazy asking this again. I need this script!!!
I hope this helps (in C#)… GameObject GUI = GameObject.Find(The name of the text); public int points; void Start() { points = 0; } void OnTriggerEnter() { Destroy(gameObject); points++; } void Update() { GUI.GUIText.Text }