How get x and y position of ScrollView in NGUI

1.1k Views Asked by At

I am try to access most left and upper x and y position of ScrollView in NGUI but unable to access. i tried to access with tranform.LocalPosition.x but what ever value its give it is middle anchor value. I want want most left and upper position of ScrollView in NGUI.

enter image description here

Thanks You Your help will be appreciated.

1

There are 1 best solutions below

0
Dover8 On BEST ANSWER

You will want to look at the UIRect component of the panel. From that you can get just about any information you would want about your NGUI element.