lvjincheng 4 年 前
コミット
259cce8d5a

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

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

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

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