Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Saagael on October 22, 2012, 01:42:25 PM

Title: Buttons Don't Work when using Multiple Cameras
Post by: Saagael on October 22, 2012, 01:42:25 PM
New to NGUI, and having some trouble setting up multiple cameras for my scene.

I've followed the tutorials, and the cameras work fine and I can see the UI elements properly, but any interactive functionality does not work. Buttons, sliders, checkboxes, they're all unresponsive when using more than a single camera. I've got my main camera set to view all layers except for the GUI layer, and I've got the GUI camera set to view only the GUI layer, Depth Only and a higher Depth than the main camera.

I'm also using the free version if that matters. Is this a common problem and I'm just missing the PSA, or is there something wrong with what I'm doing?
Title: Re: Buttons Don't Work when using Multiple Cameras
Post by: Nicki on October 22, 2012, 02:56:59 PM
Is the event mask set on your UICamera?
Title: Re: Buttons Don't Work when using Multiple Cameras
Post by: Saagael on October 22, 2012, 03:03:55 PM
Nope, that wasn't mentioned on the walkthroughs I watched, and I must have missed that while looking over everything. But that makes everything work. Thanks for the help.