void ConnectingGUI() { GUILayout.BeginArea(new Rect(100, 50, Screen.width - 200, Screen.height - 100)); GUILayout.Label("Connecting to " + hostAddress + ":" + hostPort); if (GUILayout.Button("Abort")) { comSat.Disconnect(); } GUILayout.EndArea(); }