Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: galuodo on June 13, 2013, 09:28:34 PM

Title: new UIImageButton doesn't support UIForwardEvents
Post by: galuodo on June 13, 2013, 09:28:34 PM
new UIImageButton which has disable state does not support forward.
for example, OnHover cannot make the target button change the sprite.
Title: Re: new UIImageButton doesn't support UIForwardEvents
Post by: Malzbier on June 14, 2013, 02:05:49 AM
If im remember correct, the buttons disable the collider if they are not active  -> no event is called on that game object -> UIForwardEvents does not get called.
Title: Re: new UIImageButton doesn't support UIForwardEvents
Post by: galuodo on June 14, 2013, 04:59:30 AM
If im remember correct, the buttons disable the collider if they are not active  -> no event is called on that game object -> UIForwardEvents does not get called.

OnHover has also changed
Title: Re: new UIImageButton doesn't support UIForwardEvents
Post by: ArenMook on June 14, 2013, 05:10:56 PM
No active collider = no events, it's as simple as that. No events = nothing to forward. When it's disabled -- it's disabled. :P