Welcome,
Guest
. Please
login
or
register
.
December 01, 2024, 11:31:33 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Change UIImage button button states?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Change UIImage button button states? (Read 1293 times)
tomster69
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 1
Change UIImage button button states?
«
on:
February 10, 2014, 10:01:18 AM »
Can someone enlighten me as to how to change the button states in code please?
Thanks
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Change UIImage button button states?
«
Reply #1 on:
February 10, 2014, 05:09:38 PM »
UIImageButton is what changes a sprite for you. If you're trying to change the sprite yourself, don't even use the UIImageButton. Look inside of it to see how it changes the sprites (sprite.spriteName = "Other Sprite"), and make the script you need.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Change UIImage button button states?