| | |
| | | private void OnGUI() |
| | | { |
| | | EditorGUILayout.Space(); |
| | | |
| | | if (EditorApplication.isPlaying) |
| | | { |
| | | EditorGUILayout.BeginHorizontal(); |
| | | EditorGUILayout.Toggle("主服链接状态", GameNetSystem.Instance.mainSocketConnected); |
| | | EditorGUILayout.Toggle("跨服链接状态", GameNetSystem.Instance.crossServerSocketConnected); |
| | | EditorGUILayout.EndHorizontal(); |
| | | } |
| | | |
| | | EditorGUILayout.Space(); |
| | | crossServerAccount = EditorGUILayout.TextField("跨服账号:", crossServerAccount); |
| | | crossServerId = EditorGUILayout.IntField("跨服服务器id:", crossServerId); |
| | | crossServerIp = EditorGUILayout.TextField("跨服ip:", crossServerIp); |