Welcome,
Guest
. Please
login
or
register
.
June 05, 2023, 06:07:05 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIPanel static
« previous
next »
Print
Pages: [
1
]
Author
Topic: UIPanel static (Read 2045 times)
nah0y
Sr. Member
Thank You
-Given: 1
-Receive: 2
Posts: 430
\o/
UIPanel static
«
on:
November 14, 2012, 08:59:49 AM »
Hi !
I've never used so far the static boolean on a UIPanel, what is it used for exactly ?
And if I have a UIPanel that does not move, but the children inside does, can I say the panel is static ?
Thanks
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UIPanel static
«
Reply #1 on:
November 14, 2012, 11:57:03 AM »
It's used to improve performance if you know that the widgets managed by your panel will never change in any way (no color, movement/rotation/scaling changes).
Logged
nah0y
Sr. Member
Thank You
-Given: 1
-Receive: 2
Posts: 430
\o/
Re: UIPanel static
«
Reply #2 on:
November 14, 2012, 01:05:46 PM »
Cool, thanks.
Too bad almost all my panels are moving.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIPanel static