Welcome,
Guest
. Please
login
or
register
.
December 11, 2024, 11:19:41 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Disable whole UI
« previous
next »
Print
Pages: [
1
]
Author
Topic: Disable whole UI (Read 2205 times)
DJVDJV
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 30
Disable whole UI
«
on:
February 18, 2016, 09:33:07 AM »
Hellos,
What is easiest way to disable whole NGUI UI. So it is still shown but does not get any inputs. (I need this when I async load new level)
Logged
dogfacedesign
Newbie
Thank You
-Given: 0
-Receive: 3
Posts: 33
Re: Disable whole UI
«
Reply #1 on:
February 18, 2016, 09:37:16 AM »
I would say temporarily override the event mask for that UI Camera.
Check out UICamera.eventReceiverMask ... though not sure if it can be adjusted at runtime via script or not.
Cheers.
Logged
devomage
Sr. Member
Thank You
-Given: 7
-Receive: 67
Posts: 250
Re: Disable whole UI
«
Reply #2 on:
February 18, 2016, 05:40:37 PM »
You can add a widget and a box collider that covers the entire screen. Adjust the depth accordingly.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Disable whole UI