In my game, I have an "observation" mode that is toggled by pressing a key or an icon in the UI. When in this mode, I want the cursor to turn into an eye and when it passes over an "observable" object, I want the cursor to change to an highlighted version of the eye.
I change the cursor over an object using "scene object" components but I don't know how to change the default cursor at runtime from my standard arrow to an "eye" and then turn it back to an arrow when the player opts out of the observation mode. I've tried:
CursorChange c = new CursorChange();
ORK.CursorSettings.defaultCursor = c;
...but I wasn't able to set the texture of the CursorChange type to a Texture2D from Unity. What should I do?
Should I set the cursor using Unity's standard methods instead? Is there a better way to proceed in order for ORK to manage my cursor states in the case I want to add a new state that doesn't exist?