using System.Collections; using System.Collections.Generic; using UnityEngine; public class OnlinePKTest : MonoBehaviour { public static bool isOpen = false; public static void Init() { if (!isOpen) return; Debug.Log("联机PK测试初始化"); #if UNITY_EDITOR GlobalData.pkMatchType = PKMatchType.OnlinePK; GameMgr.gameType = 12; #endif } }