Author Topic: UIImage Button changed?  (Read 2608 times)

h2hjastermereel

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
UIImage Button changed?
« 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?

h2hjastermereel

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
Re: UIImage Button changed?
« Reply #1 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.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIImage Button changed?
« Reply #2 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.