public async void Awake() { Ins = this; AllMatchRoomConfigs = await Game.Scene.GetComponent <GameMatchRoomConfigComponent>().GetAllRoomConfig(); foreach (var config in AllMatchRoomConfigs) { mAllQueueDics.Add(config.MatchRoomId, new List <User>()); } }
public Dictionary <long, MatchRoom> UserIdInRoomDic = new Dictionary <long, MatchRoom>(); //用户ID对应房间 public void Awake() { Ins = this; }