Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Chaning tk2dUIItem event sprite image
« previous
next »
Print
Pages: [
1
]
Author
Topic: Chaning tk2dUIItem event sprite image (Read 4479 times)
seitor
2D Toolkit
Newbie
Posts: 7
Chaning tk2dUIItem event sprite image
«
on:
September 05, 2013, 09:02:13 am »
In old version, you can specify "Button up sprite" and "Button down sprite" from editor, how is it done in tk2dUIITem?
Logged
gary-unikronsoftware
2D Toolkit
Jr. Member
Posts: 74
Re: Chaning tk2dUIItem event sprite image
«
Reply #1 on:
September 05, 2013, 09:24:44 am »
Hi,
You can add the component tk2dUIUpDownButton to your tk2dUIItem game object, then specify 2 different sprites for the object and drag them to the 'Up State GameObject' and the 'Down State Game Obect' slots on the component.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Chaning tk2dUIItem event sprite image