lvjincheng 4 éve
szülő
commit
259cce8d5a

+ 1 - 1
Assets/BowArrow/Scripts/CommonConfig.cs

@@ -13,7 +13,7 @@ public class CommonConfig
     public static float arrowWeight = 75; 
 
     public enum ServerType {LocalTest, Produce};
-    private static ServerType serverType = ServerType.Produce;
+    private static ServerType serverType = ServerType.LocalTest;
     //业务服务端访问地址
     public static string businessServerURI {
         get {

+ 2 - 2
Assets/BowArrow/Scripts/Manager/GameMode/OnlinePKTest.cs

@@ -4,9 +4,9 @@ using UnityEngine;
 
 public class OnlinePKTest : MonoBehaviour
 {
-    static bool canTest = false;
+    public static bool isOpen = true;
     public static void Init() {
-        if (!canTest) return;
+        if (!isOpen) return;
         Debug.Log("联机PK测试初始化");
         #if UNITY_EDITOR
             GlobalData.pkMatchType = PKMatchType.OnlinePK;