- Home /
Cursor size
Hi! Is it possible that I can make cursor bigger? I use my png image and it's very small (image size - 256x256 px).
Answer by Xentarok · Mar 02, 2014 at 01:20 PM
I believe that this is what you're looking for:
http://answers.unity3d.com/questions/145024/unity3d-custom-cursors.html
Hm... I don't use OnGUI function. I set my cursor by
Cursor.SetCursor(...)
Are there anyway to set the size of cursor with using this method?
Judging by this, I don't think so.
http://docs.unity3d.com/Documentation/ScriptReference/Cursor.SetCursor.html
Also the OnGUI function will prove to be very usefull to you later.
Answer by GerryM · Mar 04, 2014 at 09:30 PM
Might be an issue with the texture import settings. Did you set your texture to "cursor" and increase the "max size"?
Your cursor size should only be dependent on the size of your cursor texture. All you need to set is the hot spot position.
You can try out the cursor texture in the "player settings" by setting the "default cursor" texture.
With 256x256 your cursor is probably too huge. If it does appear tiny in game, the texture import settings are too small, so it will be scaled down. Also, use "point" instead of "bi-/trilinear" as filter mode.
Your answer
Follow this Question
Related Questions
How do I make my cursor smaller? 2 Answers
The best image size for cursor 0 Answers
Get cursor size in units, not in pixels. (Unity 2D) 0 Answers
What is APK file size difference in each unity version 1 Answer
Texture on Unity Meshes 1 Answer