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