Generate a window in which three buttons are present.
public void DrawWindow(int x, int y, int w, int h, string title) { int winX = x; int winY = y; int winW = w; int winH = h; int buttonW = winW / 3; int buttonH = 30; int buttonX = winX + (winW / 2) - (buttonW / 2); int buttonY = winY + winH + 10; GUI.Box(new Rect(winX, winY, winW, winH), title); if(GUI.Button(new Rect(buttonX, buttonY, buttonW, buttonH), "Button 1")) { Debug.Log("Button 1 was pressed"); } if(GUI.Button(new Rect(buttonX, buttonY + buttonH + 10, buttonW, buttonH), "Button 2")) { Debug.Log("Button 2 was pressed"); } if(GUI.Button(new Rect(buttonX, buttonY + (2 * button