NGUI finding texture width/height ingame

Hi i was wondering how i could get the width or height of the sprite placed in the scene relative to the screen size.

i kno how to do this with an object that has a renderer/material

but i cannot seem to find the equivalent in NGUI

thanks

Take a look at NGUIMath

http://www.tasharen.com/ngui/docs/class_n_g_u_i_math.html

NGUIMath.CalculateRelativeWidgetBounds is probably what you’re looking for.