- Home /
Question by
manny003 · Jul 04, 2016 at 04:31 PM ·
uirecttransformpanel
How to size RectTransform to World Coordinates: RectTransform.SetWorldCorners?
I have a UI ScreenSpace Overlay canvas with a panel that I need to size so that the corners align with 3d world coordinates. I see that the API has method RectTransform.GetWorldCorners -- it would be awesome if there were a SetWorldCorners method as well but no luck there.
I'd post code that I've written to show what I've done so far but nothing I've tried comes even close enough to working for me to post.
Can someone help? Been trying for a week and still stuck.
Thanks, Manny
Comment