Scenario is this.
Inventory item has TextureA image when inside the inventory.
then when you click on it and move the mouse around the screen should have TextureB displayed as cursor
Setting "Active graphic:" and "Cursor optional" settings to different textures do nothing for me. It always remain MainGraphic displayed
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
What are your AC/Unity versions, and what is your Cursor Manager's "Cursor rendering" field set to?
Assigning a "Cursor (optional)" graphic is the intended way to have the selected cursor be a different graphic to the one shown in the Menu. If you can share images of your Item's properties, as well as your Settings Manager, I'll try to see what's what.
yes here are the screens
Thanks - it may be related to the use of "Unity UI" for your Cursor rendering field.
Can you share an image of your CursorUI prefab (assigned in the Cursor Manager), and also see if the issue remains upon switching this field to "Software"?
ok, this helped to narrow down the culprit but I don't have a solution.
the "CursorUI" is the one from "Scripts/Templates/AnimatedCursor" which gives this issue
the "CursorUI" from "UI" works as expected
Thanks, I've recreated similar on my end.
To fix, open up AC's UnityUICursor script, and replace (around line 145):
with:
All good works perfectly