public LTDescr setEase( AnimationCurve easeCurve ) { this._optional.animationCurve = easeCurve; this.easeMethod = this.tweenOnCurve; this.tweenType = LeanTweenType.animationCurve; return this; }
// Use this for initialization void Start() { LTDescr tween = LeanTween.move(this.gameObject, new Vector3(0, 3, 0), 3); tween.setFrom(new Vector3(0, -5, 0)); tween.setDelay(2); tween.setEase(LeanTweenType.easeInBounce); tween.setOnUpdate(EscreveValor); tween.setEase(LeanTweenType.easeOutQuad); }