public void Draw() { ChangeColor(); this._FinalBox = GetRectBasedOnResolution.Start(this.BaseBox); GUI.Label(this.FinalBox, this.Content); ResetColor(); }
public bool Draw() { ///////////////////////////////////////////////////////// //Local Variables bool result; ///////////////////////////////////////////////////////// ChangeColor(); GUI.enabled = this.Enabled; this._FinalBox = GetRectBasedOnResolution.Start(this.BaseBox); result = GUI.Button(this._FinalBox, this.Content); ResetColor(); GUI.enabled = true; return(result); }