2D Toolkit Forum

2D Toolkit => Support => Topic started by: mradebe_eti on August 19, 2013, 09:32:29 pm

Title: Blinking Button
Post by: mradebe_eti on August 19, 2013, 09:32:29 pm
Hi,

I'm new to Unity and 2D Toolkit. I want to create a button that blinks between 2 different color states. I  have already created the two sprites I would use for the buttons.

What do I need to do?

Thanks.
Title: Re: Blinking Button
Post by: unikronsoftware on August 19, 2013, 09:39:03 pm
You should create a sprite animation that plays the animation, if you have 2 sprites you're switching between, then replace the button sprite with the animator.  The above is probably the quickest way to do it. Basically, you're free to do this in any way that works best for you.
Title: Re: Blinking Button
Post by: mradebe_eti on August 19, 2013, 10:34:02 pm
Creating a sprite animation worked.

Thank you so much!!!!   :D