LTDescr.setCanvasMoveY C# (CSharp) Method

setCanvasMoveY() public method

public setCanvasMoveY ( ) : LTDescr
return LTDescr
    public LTDescr setCanvasMoveY()
    {
        this.type = TweenAction.CANVAS_MOVE_Y;
        this.initInternal = ()=>{ this.fromInternal.x = this.rectTransform.anchoredPosition3D.y; };
        this.easeInternal = ()=>{ Vector3 c = this.rectTransform.anchoredPosition3D; this.rectTransform.anchoredPosition3D = new Vector3(c.x, easeMethod().x, c.z); };
        return this;
    }
LTDescr