LTDescr.setEase C# (CSharp) Method

setEase() public method

public setEase ( AnimationCurve easeCurve ) : LTDescr
easeCurve AnimationCurve
return LTDescr
    public LTDescr setEase( AnimationCurve easeCurve )
    {
        this._optional.animationCurve = easeCurve;
        this.easeMethod = this.tweenOnCurve;
        this.tweenType = LeanTweenType.animationCurve;
        return this;
    }

Same methods

LTDescr::setEase ( LeanTweenType easeType ) : LTDescr

Usage Example

    // 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);
    }
All Usage Examples Of LTDescr::setEase
LTDescr