- Home /
Cursor in WebGl hides on keyboard move input, and appears on mouse move
Hi, I've set at start a cursor image and set it to visible (the cursor mode was either tested in Auto and ForceSoftware
Cursor.SetCursor(cursorTexture, hotSpot, cursorMode);
Cursor.visible = true;
it works fine in Unity. But in WebGL ... it works, but when in use the inputs to move the player with the values of horizontal and vertical inputs, the mouse cursor hides.. and reappears when I move the mouse again.. There is NO other mouse code than in the start() function.
My update() function uses the Input.GetAxisRaw. , it seems that when the input is detected, it automatically hides the cursor. How can I avoid this behavior?
Your answer
Follow this Question
Related Questions
Get inches per 360 information for mouse movement 0 Answers
Delta event out of Editor Problem 4 Answers
Examples of TBS/Heavily Gui-driven Games in Unity? 2 Answers
Rotate around, but track the mouse 1 Answer
mouse dissapear 1 Answer