Пример #1
0
 private void Windows()
 {
     for (int i = 0; i < windows.Count; i++)
     {
         int index = i;
         if (windows[i].enabled)
         {
             windows[i].rect = GUIExtensions.Window(windows[i].index, windows[i].name, windows[i].rect, () => windows[index].action?.Invoke(), () => windows[index].enabled = false);
         }
     }
 }