Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: ealtorfer on January 15, 2014, 11:45:38 PM

Title: UI objects receiving drag events when they aren't being dragged?
Post by: ealtorfer on January 15, 2014, 11:45:38 PM
Hi there,

I'm trying to work through a weird problem I'm seeing after upgrading to NGUI 3.0.x - I am programmatically showing/hiding/activating a text field on my UI. If I do so after interacting with another UI object, that UI object will receive a drag event. It's happening in UICamera:line 1368...

I'm assuming that this is occurring because I'm not activating the text field properly. Could someone help me understand where I might be going wrong?
Title: Re: UI objects receiving drag events when they aren't being dragged?
Post by: ArenMook on January 17, 2014, 12:27:15 AM
Check to see what sets "dragStarted" to 'true'. There are only two places where this happens, and both are right above the line you mentioned. Might get you closer to the cause.