Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: h2hjastermereel on January 17, 2014, 03:10:57 PM

Title: UIImage Button changed?
Post by: h2hjastermereel on January 17, 2014, 03:10:57 PM
Upgraded from 3.0.1 to latest and my Image button stopped working (onclick).  I looked at the script in the inspector and realized it no longer has a method to call associated with it (in other words this option no longer exists).  How do we setup this behavior now?
Title: Re: UIImage Button changed?
Post by: h2hjastermereel on January 17, 2014, 04:06:09 PM
I can fix this by adding in a UIButton script. Is this the correct method (to have both scripts attached) for an image button? I ask because they you have color and image changes for the events (like onHover)....seems odd.
Title: Re: UIImage Button changed?
Post by: ArenMook on January 17, 2014, 11:24:51 PM
Yes, UIButton is fine. I'm going to be merging UIImageButton's functionality into UIButton soon.

P.S. Image button never had an On Click notification. You likely used a user modified version.