Welcome,
Guest
. Please
login
or
register
.
May 05, 2026, 02:04:45 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Check if UISprite is within screen bounds
« previous
next »
Print
Pages: [
1
]
Author
Topic: Check if UISprite is within screen bounds (Read 1988 times)
chand81
Guest
Check if UISprite is within screen bounds
«
on:
February 11, 2013, 05:35:16 AM »
Is there a quick way to tell if a UISprite is off screen?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Check if UISprite is within screen bounds
«
Reply #1 on:
February 12, 2013, 10:24:22 AM »
Quick? No -- you can do it by checking its bounds though: NGUIMath.CalculateRelativeWidgetBounds.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Check if UISprite is within screen bounds