1
NGUI 3 Support / Re: Positioning Scroll View off screen
« on: October 20, 2014, 03:20:26 PM »
I'm not 100% if I understand your issue, but it sounds like you need to position your NGUI Scroll view relative to your main camera view and update that position when your main camera view changes.
So, off the top of my head:
Vector3 nguiPos = nguiCamera.ViewportToWorldPoint(Camera.main.WorldToViewportPoint(worldPosition));
You can place a dummyObject in the main scene where you want the scroll view to appear and then use that position as worldPosition above.
So, off the top of my head:
Vector3 nguiPos = nguiCamera.ViewportToWorldPoint(Camera.main.WorldToViewportPoint(worldPosition));
You can place a dummyObject in the main scene where you want the scroll view to appear and then use that position as worldPosition above.
