LTDescr.setGUIMove C# (CSharp) Method

setGUIMove() public method

public setGUIMove ( ) : LTDescr
return LTDescr
    public LTDescr setGUIMove()
    {
        this.type = TweenAction.GUI_MOVE;
        this.initInternal = ()=>{ this.from = new Vector3(this._optional.ltRect.rect.x, this._optional.ltRect.rect.y, 0); };
        this.easeInternal = ()=>{ Vector3 v = easeMethod(); this._optional.ltRect.rect = new Rect( v.x, v.y, this._optional.ltRect.rect.width, this._optional.ltRect.rect.height); };
        return this;
    }
LTDescr