- Home /
Unity3d build-in default cursor???
I saw in the PlayerSettings tab under the Default icon button, a second that says Default Cursor, but it doesn't seems to work. I tried to look for information on Unity Manual, but it doesn't have anything about that. What's going on with it??
Answer by BBoulder · Jan 25, 2013 at 11:03 PM
They just added hardware cursors in Unity 4.0.
Here's the website where they talk about how to set it up:
Answer by codemaker2015 · Jul 01, 2021 at 12:09 PM
The default cursor settings in the player settings worked in the editor but it did not show up in a build. Also limiting the texture size to 32x32. I resolved this issue by using Cursor.SetCursor method in a script to change the cursor.
[SerializeField] Texture2D cursor;
void Start() {
Cursor.SetCursor(cursor, Vector3.zero, CursorMode.ForceSoftware);
}
Your answer
Follow this Question
Related Questions
Player Settings configuration 0 Answers
Help! Problems with Character.isGrounded in Unity 4.0.1? 3 Answers
Unity does not create app for Android 1 Answer
Player Settings configuration 1 Answer