Welcome,
Guest
. Please
login
or
register
.
January 21, 2025, 12:37:09 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
"Bring to front" during run-time?
« previous
next »
Print
Pages: [
1
]
Author
Topic: "Bring to front" during run-time? (Read 3784 times)
tr4np
Newbie
Thank You
-Given: 2
-Receive: 0
Posts: 17
"Bring to front" during run-time?
«
on:
April 09, 2014, 02:12:36 PM »
Is there an NGUI method to bring a widget to the front, similar to the right-click menu option in the editor? I have multiple draggable windows that could overlap, and I want the most recently touched window to be on top.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: "Bring to front" during run-time?
«
Reply #1 on:
April 10, 2014, 06:46:43 AM »
NGUITools.BringForward
Logged
tr4np
Newbie
Thank You
-Given: 2
-Receive: 0
Posts: 17
Re: "Bring to front" during run-time?
«
Reply #2 on:
April 10, 2014, 02:16:35 PM »
Quote from: ArenMook on April 10, 2014, 06:46:43 AM
NGUITools.BringForward
Great, I'm glad it was so simple! I was worried I'd have to iterate through all the widgets and keep track of all the depths myself.
Are these methods documented somewhere? I'd like to know what other useful methods I might be missing out on.
thanks,
Phong
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: "Bring to front" during run-time?
«
Reply #3 on:
April 11, 2014, 07:07:39 AM »
Here:
http://www.tasharen.com/ngui/docs/class_n_g_u_i_tools.html
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
"Bring to front" during run-time?