Is it posible an example using
MouseCursor.Zoom
or an example of “MouseCursor.” There is no much in the documentation.
Is it posible an example using
MouseCursor.Zoom
or an example of “MouseCursor.” There is no much in the documentation.
Just a simple 2 lines example. Please
what’s with the funny formatting?
lets walk through it:
ok, no example, so try the parent
ok, lets lookup the reference page for that function
tada, example
and now that we’re there, the only thing left to do would be to suggest you don’t learn the old legacy OnGUI approach for in game UI and move onto the more recent Canvas approach to UI, for the basics on that start here: Learn game development w/ Unity | Courses & tutorials in game design, VR, AR, & Real-time 3D | Unity Learn
you can also change the cursor via the cursor class by the looks of it
[learning english]
Nice! Now I know how to look around. Thanks! I was thinking “zoom” was a king of cursor with a magnifying glass… But was only the mouse cursor shape arrow icon that change to a new mouse cursor zoom shapes.
Your explanation was grate! Yes I’m using the new UI: screenshot link: Tada…
Thx
Yes, better but using the new UI there is no
MouseCursor.Pan , zoom, resizeUpLeft, resizeUpDown, resizeLeftRight, etc.