So I want the cursor (mouse pointer) to disappear off of the screen after a few seconds but reappear when I hit the escape button, is this possible? if so how would I write the code for this?
Screen.lockCursor=true
or
Screen.hideCursor=true
put this somewhere in update
if(Inpput.getKeyDown(KeyCode.Escape)){
Screen.hideCursor=false
}
Thanks, this is really helpful, but what if I wanted there to be a 3 second delay before the cursor (mouse pointer) vanished, how would I do this?
depends on where you want to call the function
I recogmend you read the whole Overview section atleast
Happy coding