It's me, again, bothering you with a silly question.
I'm making a first person game, and took the advice(which is actually very useful) from another post that one should use only 1 type of cursor.
I have the following code :
Because I want the cursor to appear after the fade-in. so far so good !
I added the following code to the hotspot, advice taken from some forum post
The thing is, after moving back the cursor from the hotspot, the same 'changed' graphic persists, not reverting back to its original graphic that I selected(and that it was present before hovering to the hotspot). In the documentation it is written to put the 'savecursoruntillitleaves' think BEFORE the changing - which I did - to actually prevent that from happening. I tried to add the
" Mouse.Mode = eModeInteract;
mouse.UseModeGraphic(eModeInteract);
"
into the global script, but that does not seem to work. also, others 'update' functions relating to the mouse when put into the "global script" again do not work =(.
Can you please provide a more correct code or point me out in the direction of what I'm doing wrong, please ?
I'm making a first person game, and took the advice(which is actually very useful) from another post that one should use only 1 type of cursor.
I have the following code :
Because I want the cursor to appear after the fade-in. so far so good !
I added the following code to the hotspot, advice taken from some forum post
The thing is, after moving back the cursor from the hotspot, the same 'changed' graphic persists, not reverting back to its original graphic that I selected(and that it was present before hovering to the hotspot). In the documentation it is written to put the 'savecursoruntillitleaves' think BEFORE the changing - which I did - to actually prevent that from happening. I tried to add the
" Mouse.Mode = eModeInteract;
mouse.UseModeGraphic(eModeInteract);
"
into the global script, but that does not seem to work. also, others 'update' functions relating to the mouse when put into the "global script" again do not work =(.
Can you please provide a more correct code or point me out in the direction of what I'm doing wrong, please ?