I have multiple cursor issues I would like to bring up.
1. Hardware cursor does not even draw the cursor when the game is built. It draws the cursor fine in the editor. This forced me to go back to Software which feels a tad sluggish.
2. My wait cursor is animated. It takes a png size 256x32 that has 7 frames of animation. It does have extra alpha space for the last 1/3 of it. The result is the cursor is rotated and obviously not pulling from the texture correctly. I read the manual and it said to have the textures lined up horizontally in a texture. Thoughts?
3. I want hotspots that leave the scene to change its cursorwhen hovering over them. I have setup a new cursor for this. My mode is choose interaction then hotspot. Under settings -> hotspot settings if I choose Display Hotspot Icon -> only When highlighing, then it shows the cursor icon associated with the interactions supported by the hotspot over every hotspot regardless if my mouse is over the hotspot. I also noticed a HUGE performance decrease while this was happening. Is there an option for changing the cursor when the cursor is over a hotspot?
4. For my own knowledge, why must cursors be Texture2Ds and not sprites?
Thanks folks. This is on Unity 2D mode.
Comments
As for #3 I want to elaborate more. I want the right click to change cursor for interaction, however when you hover over a hotspot that is used for changing scenes, I want the cursor to immediately change to a preset cursor for "ExitRight" and thus be able to have the 'ExitRight" interaction for use in the hotspot logic.
1. Use
2. Look At
3. Walk
Thus I have set Choose Interaction Then Hotspot. However when hovering over this particular hotspot "ExitRight" with a single use action, that the cursor would immediately change to Walk and then clicking on the hotspot would use the Walk: ExitRight interaction.
In order to get the 2D Demo to work like this I had to change its setting to Choose interaction Then Hotspot, which caused the right-click-cycle to include the two arrows and didn't change the cursor upon mouse-over either.
In other words be able to Right-click to cycle, but then declare a particular hotspot that upon mouse over you only respond to "Walk" and thus the cursor changes to Walk on mouseover and changes back if the mouse leaves the hotspot.
Also an update on question #1, the cursor wasn't showing as the Texture type was not set to "Cursor".
Thoughts?
I'll need a refresh on 1). Does the update solve the issue?
Check your texture import settings - make sure the Texture Type is set to Cursor, and that the Max Size value is large enough.
If you switch back to Software, Inventory items can be assigned dedicated cursor graphics in the Inventory Manager, so that you can control their size exactly.
Further performance enhancements are coming with v1.56 - though not specifically with cursors, overall they may help to lessen the lag.