Author Topic: [Fixed] Tweens toggle and Bounce  (Read 1743 times)

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
[Fixed] Tweens toggle and Bounce
« on: August 06, 2012, 07:19:29 AM »
Hi !

Just a small question here, I often want to use the BounceIn/BounceOut method from UITweener, but I want to use it by triggering the UITweener with a UIButtonTween script set to Toggle.

The problem is uses BounceIn when toggle to true and BounceOut when toggle to false. And so, if I want to make something appears and bounce it works fine, but when I'm making it disappear it starts bouncing and then disappear.
What if I only want to make it bounce when it ends the tween ?

PS : I don't really want to set everything using a custom script, that will change the method of the UITweener. But I guess that's how it should be done ?
« Last Edit: August 06, 2012, 10:56:09 AM by nah0y »

PhilipC

  • Guest
Re: Tweens toggle and Bounce
« Reply #1 on: August 06, 2012, 10:54:23 AM »
If you want to have it used by a UIBittonTween script set to toggle then yes you would need to have a custom script that will change the tween method.

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Tweens toggle and Bounce
« Reply #2 on: August 06, 2012, 10:55:57 AM »
Okay, thanks !