Cursor and Cursor Affordance

  • Has there really been a request for this before? :wat:

    But unfortunately it's currently not possible to change the cursor via API... changing the cursor in UI Toolkit was broken in older Unity versions, so we never implemented cursor affordance for the game... not sure about the current state in UITK.

    If I understand correctly you want to be able to change the default cursor as well as set custom cursors when hovering API-created UI elements? ^^

  • I'm almost certain I did mention this a while back... but now you have me thinking 🤔😅


    If I understand correctly you want to be able to change the default cursor as well as set custom cursors when hovering API-created UI elements?


    Exactly this.


    I think this could be done by a new onMouseMove method and moving a image x y pos, but then again, this may trigger too many events and may not be feasible and may end up being clunky.


    It's more a "would be nice" API access, it's certainly not a show stopper :D

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!