I’m stuck with a minimap teleporter in my world.
I have a 2D canvas that shows an image, and the image shows the world’s map.
I can point and click on it. I’m struggling to create a script that converts the click to the world coordinates so that I could teleport the user there.
I attached udon# script to the Image.
What method do i need to override to catch the “click” event?
How to get the coordinates of the pointer on the image?
Any ideas and suggestions are appreciated, thanks!