Hello Guest

Author Topic: Blinking Button  (Read 3502 times)

mradebe_eti

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 26
    • View Profile
Blinking Button
« 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Blinking Button
« Reply #1 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.

mradebe_eti

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Blinking Button
« Reply #2 on: August 19, 2013, 10:34:02 pm »
Creating a sprite animation worked.

Thank you so much!!!!   :D