|
Hello, Im trying to make a scoring system in two parts, one that is attached to a GUIText and another that is attached to an object to be clicked in order to add up points. This is what I currently have on the GUIText and this is what is on the object to be clicked to get points CountingCode.js When I click the afformentioned object with these scripts active nothing happens. Can someone please show me what is wrong?
(comments are locked)
|
|
Put a Debug statement in OnMouseDown() - I'd guess that it isn't getting called at all. Make sure that the object you are clicking on:
Hope it helps!
(comments are locked)
|
