Hi,
Is there an easy way to go from unity screen coordinate to a viewport/uiWebview coordinate ?
Thanks
Hi,
Is there an easy way to go from unity screen coordinate to a viewport/uiWebview coordinate ?
Thanks
If you are on a retina screen, the rect to pass into a UIWebView is just Unity coordinates divide by 2. You also have to do that for the width and length. If you are not on a retina screen, Unity and UIWebView coordinates are the same.
This is true for coordinates on other views that derived from UIView.