2D Toolkit Forum
2D Toolkit => Support => Topic started by: k3ch0ng on November 27, 2012, 02:52:28 pm
-
Is there like an easy way to do this ? Just want to make the button look like its been pressed.
-
It doesn't support it out of the box, but you can change it quite easily if you'd like to.
Make a copy of the tk2dbuton script, and were the ButtonPressedEvent() is called...
swap buttonUpSpriteId & buttonDownSpriteId, also flip an internal toggled state.
That is more or less it.