// Token: 0x060000A8 RID: 168 RVA: 0x00008854 File Offset: 0x00006A54
 public void OnGUI()
 {
     if (this.Enabled)
     {
         if (!Menu.smethod_2(this.BTexture))
         {
             this.BTexture = Menu.smethod_3(1, 1);
             Menu.smethod_4(this.BTexture, 0, 0, this.BackColor);
             Menu.smethod_5(this.BTexture, TextureWrapMode.Repeat);
             Menu.smethod_6(this.BTexture);
             this.BackStyle = Menu.smethod_7();
             Menu.smethod_9(Menu.smethod_8(this.BackStyle), this.BTexture);
         }
         if (this.NumberOfVisibleElements == 0)
         {
             this.NumberOfVisibleElements = this.Opts.Count;
         }
         this.VisibleOpts.Clear();
         this.BoxRect.width  = 200f;
         this.BoxRect.height = 24f + 21f * (float)this.NumberOfVisibleElements;
         GUI.Box(this.BoxRect, GUIContent.none, this.BackStyle);
         GUI.Label(new Rect(this.BoxRect.x + 60f, this.BoxRect.y, this.BoxRect.width, this.BoxRect.height), "BIRKA HOOK PASTA");
         GUI.color = Color.white;
         int num = 0;
         for (int i = 0; i < this.Opts.Count; i++)
         {
             Menu.Option opt = this.Opts[i];
             this.DrawElement(ref num, opt, 1);
             num++;
         }
         this.NumberOfVisibleElements = num;
         GUI.Label(new Rect(new Vector2(this.BoxRect.x + 125f, this.BoxRect.y + 24f + 21f * (float)num + 3.3f), new Vector2(100f, 100f)), FPSController.GetAsString());
     }
 }