Welcome,
Guest
. Please
login
or
register
.
September 19, 2025, 05:55:35 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
NGUI input only attend to specific collider
« previous
next »
Print
Pages: [
1
]
Author
Topic: NGUI input only attend to specific collider (Read 2153 times)
xito
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 13
NGUI input only attend to specific collider
«
on:
December 10, 2013, 10:34:30 AM »
Hi!
We are making a tutorial and we need to filter the inputs. We need to allow that only one button gets input events.
We are thinking about some kind of whitelist or blacklist to implement this but we don't know how or where we can implement this with NGUI.
Thanks
.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: NGUI input only attend to specific collider
«
Reply #1 on:
December 10, 2013, 09:50:50 PM »
You could disable the colliders yourself. Easiest thing to do would be to do GetComponentsInChildren<BoxCollider>() on the UIRoot and disable all of them, then enable the ones you actually want active.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
NGUI input only attend to specific collider