LTDescr.setMoveCurvedLocal C# (CSharp) Method

setMoveCurvedLocal() public method

public setMoveCurvedLocal ( ) : LTDescr
return LTDescr
    public LTDescr setMoveCurvedLocal()
    {
        this.type = TweenAction.MOVE_CURVED_LOCAL;
        this.initInternal = this.initFromInternal;
        this.easeInternal = ()=>{
            newVect = easeMethod();
            val = newVect.x;
            if(this._optional.path.orientToPath){
                if(this._optional.path.orientToPath2d){
                    this._optional.path.placeLocal2d( trans, val );
                }else{
                    this._optional.path.placeLocal( trans, val );
                }
            }else{
                trans.localPosition = this._optional.path.point( val );
            }
        };
        return this;
    }
LTDescr