|
@@ -4,14 +4,14 @@ using UnityEngine;
|
|
|
|
|
|
|
|
public class OnlinePKTest : MonoBehaviour
|
|
public class OnlinePKTest : MonoBehaviour
|
|
|
{
|
|
{
|
|
|
- static bool canTest = true;
|
|
|
|
|
|
|
+ static bool canTest = false;
|
|
|
public static void Init() {
|
|
public static void Init() {
|
|
|
if (!canTest) return;
|
|
if (!canTest) return;
|
|
|
Debug.Log("联机PK测试初始化");
|
|
Debug.Log("联机PK测试初始化");
|
|
|
#if UNITY_EDITOR
|
|
#if UNITY_EDITOR
|
|
|
GlobalData.pkMatchType = PKMatchType.OnlinePK;
|
|
GlobalData.pkMatchType = PKMatchType.OnlinePK;
|
|
|
- GlobalData.matchRoomType = 2;
|
|
|
|
|
- GameMgr.gameType = 11;
|
|
|
|
|
|
|
+ GlobalData.matchRoomType = 3;
|
|
|
|
|
+ GameMgr.gameType = 12;
|
|
|
#endif
|
|
#endif
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|