A modified StandaloneInputModule that allows UI events to be driven by a virtual mouse cursor. Does not handle cursor movement.
The virtual mouse cursor must be a canvas object.
Setup is simple:
-
Replace StandaloneInputModule with VirtualInputModule on the EventSystem game object.
-
Assign a canvas object to m_VirtualCursor.
-
Assign the canvas camera to m_CanvasCamera.