I’m using Screen.showCursor = false to hide the cursor in my game, but for some reason when I click a mouse button the cursor re-appears and flickers a few times before disappearing again.
Any idea why?
Thanks in advance!!
I’m using Screen.showCursor = false to hide the cursor in my game, but for some reason when I click a mouse button the cursor re-appears and flickers a few times before disappearing again.
Any idea why?
Thanks in advance!!
Does it matter which script you call the function from?
Does it appear back to visible in built version of your project or just in editor?
Hiding mouse cursor doesn’t work well in editor.
You’re right it’s just an editor thing. I did a test build and it worked fine
Thanks for the reply!