예제 #1
0
    public void Draw()
    {
        ChangeColor();

        this._FinalBox = GetRectBasedOnResolution.Start(this.BaseBox);

        GUI.Label(this.FinalBox, this.Content);

        ResetColor();
    }
예제 #2
0
    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);
    }