Author Topic: UITweener bounce method missing on update  (Read 17058 times)

arkon3

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 71
    • View Profile
UITweener bounce method missing on update
« on: October 17, 2013, 06:26:27 PM »
Hi, I've just updated to the latest NGUI 3.02 and all my UITweener's have lost the Method entry on the inspector panel.
On the panel it says:
Tweener
Animation Curve
Play Style
etc.

To clarify, I use UITweenScale on an object and Bounce in etc seems missing.

But play style only has once,loop and ping pong. Where have ease in out, bounce etc gone?
« Last Edit: October 17, 2013, 07:50:27 PM by arkon3 »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITweener bounce method missing on update
« Reply #1 on: October 18, 2013, 06:04:28 PM »
You get the curve. The curve lets you make any shape you want.

arkon3

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 71
    • View Profile
Re: UITweener bounce method missing on update
« Reply #2 on: October 20, 2013, 07:00:07 AM »
Man! I preferred it as it was. What does the curve for a bounce in look like? Also your code still has the bounce stuff in it,
I just cant make it bounce. Why on earth did you take these features out?

Also if I did make a bounce curve (which I don't know how to do) how do I copy that curve to other objects to they all have the same bounce curve? (Beginning to wish I never updated versions!)
« Last Edit: October 20, 2013, 07:06:38 AM by arkon3 »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITweener bounce method missing on update
« Reply #3 on: October 20, 2013, 04:13:51 PM »
Same way you do it with any other script in Unity.

Right click on the source component, Copy. Right click on the target component, Paste. Or right click on transform, paste values / paste as new.

Bounce logic is kept in there for backwards compatibility, but you can still use it if you wish. Open UITweenerEditor.cs, and uncomment lines 31 and 50.

In the future, just examine the code. I provide it for a reason, and I rarely remove something without an easy way of adding it back in for those that still need it.