GlobalData.cs 431 B

12345678910111213141516
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. /** 全局游戏数据 */
  5. public class GlobalData
  6. {
  7. //本地双人PK,双方选择的角色ID
  8. public static int[] localPK_playerRoleIDs = new int[] {1, 2};
  9. public static PKMatchType pkMatchType = PKMatchType.None;
  10. }
  11. public enum PKMatchType {
  12. None, //不是PK,就是单击单人
  13. LocalPK, //本地PK
  14. OnlinePK //联网PK4444
  15. }