Is it possible to do the above with pure Unity buttons?
Trying to fix some inconsistencies -- just realized some of my AC buttons change cursors when my mouse is over them, and regular Unity ones do not.
Depending on the solution for this, I will either remove all cursor changes on button hovering, or add it to all of them.
Any help is appreciated, thank you!
Edit: Ahh sorry accidentally chose Engine Development instead of Technical Q/A as the category -- my bad.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Unless you link the UI to an AC Menu, you'll need to rely on scripting to detect the active UI object and affect the cursor.
If your Cursor uses Hardware rendering, then you can just use Unity's Cursor.SetCursor function to change the texture.
Otherwise, you'd need to replace your PlayerMenus component with a subclass that overrides GetElementOverCursorID to return the ID of the cursor to change to at the correct time.
Awesome, thank you so much!