LTDescr.setCanvasMoveX C# (CSharp) Méthode

setCanvasMoveX() public méthode

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