Does anyone know if it is possible to have the main cursor be different depending on what scene you are in? Is there any way either by Action List or by code? I've looked through the scripting guide and the CursorManager doesn't seem to have anything that can change the main cursor. I've only managed to change interaction cursors.
Also, on a somewhat related note, is there a way for all of the dialogue options area to have a custom cursor when hovering over the whole area instead of only when hovering over a dialogue choice? If there is a way in code of fixing the first question then this one should be doable in a similar way.
Thanks in advance for any help!
Comments
KickStarter.cursorManager.pointerIcon.texture
You can then manipulate this field in a custom script. Be aware that as this will change the Cursor Manager asset file, you will also need to set the texture to it's "default" value when the game starts.
There is no option within the Menu Manager to change the cursor's icon over individual slots, so if you want to change the icon you'll need another script to read if the cursor is over a given slot. The Menu class has a function that can do this: IsPointerOverSlot.
The "point" parameter will be the location of the mouse, inverted for use with OnGUI calls:
KickStarter.playerInput.GetInvertedMouse ()
A Menu class can be accessed with the PlayerMenus.GetMenuWithName static function. There is a similar function for getting a MenuElement class.