LTDescr.setMoveX C# (CSharp) Method

setMoveX() public method

public setMoveX ( ) : LTDescr
return LTDescr
    public LTDescr setMoveX()
    {
        this.type = TweenAction.MOVE_X;
        this.initInternal = ()=>{ this.fromInternal.x = trans.position.x; };
        this.easeInternal = ()=>{ trans.position=new Vector3( easeMethod().x,trans.position.y,trans.position.z); };
        return this;
    }
LTDescr