|
hey, Im making a code for a multiple choise question but for some reason when i drag the mouse over it , it does change coler but when i click, it does not, what could be going on? pragma strict
(comments are locked)
|
|
For a click you can use the MonoBehaviour function OnMouseUpAsButton , which on click will change the color when the user releases the button. thanks a lot man
Jun 02 '12 at 12:51 AM
thenachotech1113
@thenachotech no prob, this is one of those functions that takes ray casting out of the equation. I have never used it :p but i know its there and how handy it can be. Thanks to the unity dev team and their ongoing effort to make gaming easier from a game devs POV. One of these days im sure ill need it, for now i just preach it :)
Jun 02 '12 at 04:12 AM
hijinxbassist
(comments are locked)
|

Dose OnMouseDown works?
whell u are right and thank you but the problem is still there