Author Topic: Button Click Effects  (Read 2416 times)

musach21

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Button Click Effects
« on: October 15, 2014, 12:02:32 PM »
Hello:
Currently working on something on my own. For other reasons I will not bore you with, I am not using the UIbutton that Ngui provides a nice way of handling this kind of thing. I am just trying to 'darken' a sprite that I am using as a button when it is disabled, and also to cause a ripple-like effect when the button (sprite) is clicked. Do I need to script this up?Someone has already mentioned I should look at the particle system which I am not familiar with entirely..Any ideas are much appreciated?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Button Click Effects
« Reply #1 on: October 16, 2014, 06:30:25 AM »
There is nothing in NGUI that would give you a ripple effect, so I can't suggest anything there. Tinting a sprite is as simple as changing its color though.