Author Topic: UIButton merged with UIImageButton?  (Read 1672 times)

zenmaster

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 20
    • View Profile
UIButton merged with UIImageButton?
« on: March 14, 2014, 06:10:00 PM »
Hi All,

I dragged over a UIButton. It only has the Colors.
Is it supposed to have sprite states now? UIImageButton script says merged?

Old legacy ones that have the state sprites no place to change the atlas?

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIButton merged with UIImageButton?
« Reply #1 on: March 14, 2014, 08:33:22 PM »
Quote
Old legacy ones that have the state sprites no place to change the atlas?
That makes no sense to me. Not sure what you mean by that.

Yes, the UIButton now has both colors and sprites if it's working with a UISprite.

zenmaster

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 20
    • View Profile
Re: UIButton merged with UIImageButton?
« Reply #2 on: March 15, 2014, 10:00:53 AM »
I am using 3.5.4
When I use UIButton I get
Script
Colors
OnClick

NO state sprites?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIButton merged with UIImageButton?
« Reply #3 on: March 15, 2014, 05:57:32 PM »
Select one of the button controls that comes with NGUI. Do you see them there? "Control - Simple Button" for example. If you don't, then something is wrong with your NGUI install. May happen if you don't follow the upgrade instructions from the readme file.