I’m using a custom mouse pointer, so I’m setting Screen.showCursor = false to hide the os mouse pointer.
The problem is that this doesn’t work in firefox under mac - as soon as I leave the web player screen area, the os pointer reappears and stays visible when I enter web player again (even when I set showCursor to false in every frame).
The only workaround I’ve found so far, is to set showCursor to true and to false just after that, which forces the visibility of the cursor to refresh (so hides it), but it often causes the cursor to flicker.
Is there any solution to making it work as it should in the first place?
P.S. It’s so annoying how firefox handles any 3d rendered content, flash and such - there are always problems with flickering while scrolling, tabbed browsing, etc. And this is supposed to be the best browser out there :?
I think you’ll find the same issue on windows - from memory. It really needs something that will hide the custom cursor once the real one is outside the unity app but I haven’t found a way to do it other than having a zone around the edge that if the cursor enters it then it gets hidden so that if the cursor then continues on and leave the app area then the custom cursor is already hidden. Its all very nasty and messy though. Not ideal at all.
Hmm, but I’m actually having problems the other way round: it’s not the custom cursor that’s appearing outside the app area, it’s the standard cursor showing in the app area all the time, no matter what I do.
I’m guessing I could probably script it with js on the page itself, so that howev over the embed tag area changes cursor to none, but I was counting on the guys from unity to solve it properly - I mean they seemed like they really cared about the whole user experience with the webplayer, and this is a serious bug.