| | |
| | | |
| | | EditorGUILayout.EndHorizontal(); |
| | | autoOneVsOneMatch = EditorGUILayout.Toggle("自动匹配", autoOneVsOneMatch); |
| | | |
| | | EditorGUILayout.Space(); |
| | | EditorGUILayout.BeginHorizontal(); |
| | | if (GUILayout.Button("开始客户端PK")) |
| | | { |
| | | ClientCrossServerOneVsOne.FakeMatchOk(); |
| | | ClientCrossServerOneVsOne.StartClientCrossServerOneVsOne(); |
| | | } |
| | | |
| | | if (GUILayout.Button("退出客户端PK")) |
| | | { |
| | | ClientCrossServerOneVsOne.StopClientCrossServerOneVsOne(); |
| | | } |
| | | |
| | | EditorGUILayout.EndHorizontal(); |
| | | } |
| | | |
| | | CrossServerOneVsOneModel oneVsOneModel { get { return ModelCenter.Instance.GetModel<CrossServerOneVsOneModel>(); } } |