MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

How to change cursor at runtime

Open raedbenz opened this issue 9 years ago • 2 comments

How can I change cursor style/prefab when hover over certain object then set it back to its defsult design once not in focus anymore? Thanks

raedbenz avatar Nov 19 '17 20:11 raedbenz

You can do this by using an AnimatedCursor along with the CursorModifier component. The cursor can receive animation triggers via the CursorModifier's CursorParameters array.

There is an example of the CursorModifier in the InputManagerTest scene.

Railboy avatar Nov 20 '17 18:11 Railboy

Please reopen if your question was not answered.

NeerajW avatar Feb 14 '18 23:02 NeerajW