How to show layer over all the screen?

I develop a game for andoroid.
I want to show NGUI element X, e.g. UISlicedSprite, over all screen (something like help window) and that anything under that X won’t react on click/touch. I thought to iterate through all elements and set their colliders to `enable=false’, but isn’t there is a more elegant way? Maybe I can play, somehow, with raycast or something?

1 Answer

1

If you want to block clicks over 3D Geometry I have just used an invisible plane with a box collider that I turn on with the help menu to block everything else.

If you want to block clicks over GUI I have just used a GUI Texture stretched to fill the screen with the Z-Layer set to cover the stuff I want blocked when I turn on the help screen.

Hope this gets you pointed in the right direction!

@justin_ISO, it worked! thanks:)

Glad I could help!