Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

[Solved] Virtual mouse cursor that triggers UI events?

$
0
0
[Solved: Here's the code to create a virtual mouse cursor that triggers UI events.]

Is it possible to create a virtual mouse cursor (as a UI element on the canvas) that can trigger UI events such as hover and click? More importantly, a virtual mouse cursor that does not map 1:1 with the screen position of the actual mouse cursor?

My game has an unusual setup, because I'm recreating the rectangular pixel ratio of old CRT screens,...

[Solved] Virtual mouse cursor that triggers UI events?

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>