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