unity GUI GUILayout 水平 垂直布局
#region
//if (GUI.Button(new Rect(100, 100, 30, 60), str))
//{ // str += str; //}
//if (GUILayout.Button(str))
//{ // str += str; //}
//GUILayout.BeginVertical();
//GUILayout.BeginHorizontal();
//GUILayout.Label("用户名");
//name = GUILayout.TextField(" " + name, 25);
//GUILayout.EndHorizontal();
//GUILayout.BeginHorizontal();
//GUILayout.Label("密码");
//pwd = GUILayout.TextField(" " + pwd, 25);
//GUILayout.EndHorizontal();
#endregion