LTDescr.setGUIScale C# (CSharp) Method

setGUIScale() public method

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