Hi,
Is there a simpler way of getting the position of a mouse/pointer click in RectTransform?
Use case is clicking on a map; I currently have a kludgy/brittle way of getting it done, but I feel there should be a more straightforward way of getting this done. Something similar to the Screen/View/World functions available in the Camera class?
Is there a simpler way of getting the position of a mouse/pointer click in RectTransform?
Use case is clicking on a map; I currently have a kludgy/brittle way of getting it done, but I feel there should be a more straightforward way of getting this done. Something similar to the Screen/View/World functions available in the Camera class?