protected override void OnAwake() { Instance = this; base.OnAwake(); m_KillMonsterIdList = new List <int>(); m_DropGoodsList = new List <GameLevelSuccessRequestProto.GoodsItem>(); m_RegionMonsterList = new List <GameLevelMonsterEntity>(); m_MonsterGameObjectDic = new Dictionary <int, GameObject>(); m_Chapter = GameLevelCtrl.Instance.ChapterId; m_Gamelevel = GameLevelCtrl.Instance.GameLevelId; for (int i = 0; i < m_Region.Length; i++) { m_Region[i].SetRegionId(i); } }
protected override void OnAwake() { Instance = this; }
protected override void OnAwake() { base.OnAwake(); Instance = this; }