Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: chand81 on February 11, 2013, 05:35:16 AM

Title: Check if UISprite is within screen bounds
Post by: chand81 on February 11, 2013, 05:35:16 AM
Is there a quick way to tell if a UISprite is off screen?
Title: Re: Check if UISprite is within screen bounds
Post by: ArenMook on February 12, 2013, 10:24:22 AM
Quick? No -- you can do it by checking its bounds though: NGUIMath.CalculateRelativeWidgetBounds.