- Home /
How do I customize the image of the cursor?
Title says it all. :)
Answer by 3dDude · Jan 04, 2011 at 11:06 PM
Or if you want you can look at a free finished script I made for this question:
http://answers.unity3d.com/questions/14792/gun-object-following-mouse/14794#14794
=) Enjoy!
http://answers.unity3d.com/questions/21802/gun-object-following-mouse.html
It's here. You know what "Search", or "Google", "Bing", "DuckDuckGo" is?
Answer by Justin Warner · Jan 04, 2011 at 10:44 PM
http://unity3d.com/support/documentation/ScriptReference/Input-mousePosition.html
Get position of the mouse, and then draw an object (GUI Texture perhaps) at that position...
Should work =).
Answer by aidangig56 · Jun 30, 2014 at 07:10 PM
Go to File > Build Settings > Player Settings > PC,MAC,LINUX > Select Cursor Texture :)
Answer by vfxjex · May 30, 2018 at 06:30 PM
https://docs.unity3d.com/ScriptReference/Cursor.SetCursor.html
Cursor.SetCursor(Texture2D,CursorMode)
Your answer
Follow this Question
Related Questions
Cursor.SetCursor() not working when building to UWP 0 Answers
Cursor issues: strange white square under cursor 1 Answer
Cursor appears dark in game 0 Answers
How do I access from script to my Assets/Textures? 1 Answer
How do I make my cursor smaller? 2 Answers