LTDescr.setMoveZ C# (CSharp) Method

setMoveZ() public method

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