|
How can I change the mouse cursor when the mouse is over a certain object in the scene? I'd really appreciate the help.
(comments are locked)
|
|
You would need to do a raycast between the observer (your PoV) and mouse and detect if that line collides with the object. Now that you caught the event you will have to go into the mouse properties and change the settings there. This is not the easiest thing to do, do not misunderstand, it is most certainly possible. But I have no idea of 1: what your objective is. So I can not give much alternatives. I am not sure you are able to use this solution at all, so I will not spend a huge amount of time coding some sample which could just be ending up as useless. So I would request specifying your question, or simply use the first suggestion or that of any other answer that pops up here :)
(comments are locked)
|
|
like this: bye! one problem with this is it will work fine with only one object, whn number of objects increases it will fail
Jan 06 '12 at 06:31 AM
flamy
(comments are locked)
|
|
or ... like this :) http://answers.unity3d.com/questions/202235/mousecursorarrow-and-mousecursorlink.html#answer-202242
(comments are locked)
|
|
Nice, but i dont want change texture scale.
(comments are locked)
|
