How do I get the Same Y Position Coordinate as shown in the RectTransform component in the Unity Editor? I’ve tried localPosition, regular Position, worldToScreenPoint, Screentoworldpoint… none seem to work…
’
Thanks!
How do I get the Same Y Position Coordinate as shown in the RectTransform component in the Unity Editor? I’ve tried localPosition, regular Position, worldToScreenPoint, Screentoworldpoint… none seem to work…
’
Thanks!
It’s a RectTransform component, not Transform, so you use RectTransform properties, such as anchoredPosition.
–Eric