Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: laurentl on August 06, 2013, 03:00:49 AM

Title: camera.eventMask=0 needs to be an option
Post by: laurentl on August 06, 2013, 03:00:49 AM
I ran after that bug for hours
Title: Re: camera.eventMask=0 needs to be an option
Post by: laurentl on August 06, 2013, 03:02:07 AM
context: detecting taps and dragging in the 3D scene with OnMouseDown
Title: Re: camera.eventMask=0 needs to be an option
Post by: ArenMook on August 07, 2013, 05:57:35 AM
OnMouse events are going to be killed once the new UI ships. Stop using them now to save yourself the headache later.

OnMouse = NOT NGUI.
Title: Re: camera.eventMask=0 needs to be an option
Post by: galuodo on August 07, 2013, 10:32:35 AM
This puzzle me for a long time and I find this cause me a big trouble after I update my Unity for 4.0 to 4.1.5. I have to delete this code, or a click event will be processed not only by NGUI camera , but also by other camera.
Title: Re: camera.eventMask=0 needs to be an option
Post by: laurentl on August 07, 2013, 04:40:36 PM
Ok, what do I use instead now ?

OnMouse events are going to be killed once the new UI ships. Stop using them now to save yourself the headache later.

OnMouse = NOT NGUI.