LTDescr.setGUIRotate C# (CSharp) Method

setGUIRotate() public method

public setGUIRotate ( ) : LTDescr
return LTDescr
    public LTDescr setGUIRotate()
    {
        this.type = TweenAction.GUI_ROTATE;
        this.initInternal = ()=>{ if(this._optional.ltRect.rotateEnabled==false){
                this._optional.ltRect.rotateEnabled = true;
                this._optional.ltRect.resetForRotation();
            }

            this.fromInternal.x = this._optional.ltRect.rotation;
        };
        this.easeInternal = ()=>{ this._optional.ltRect.rotation = easeMethod().x; };
        return this;
    }
LTDescr