| | |
| | | [SerializeField] GameObject m_Container_WHYJ;
|
| | | [SerializeField] DungenWHYJ m_DungenWHYJ;
|
| | | [SerializeField] GatherSoulDungeonBehaviour m_GatherSoulDungeonBehaviour;
|
| | | [SerializeField] DungeonReturnBloodBehaviour m_DungeonReturnBlood;
|
| | | bool excutedAutoExit = false;
|
| | | float timer = 0f;
|
| | | DateTime endTime = DateTime.Now;
|
| | |
| | | RuneTowerModel runeTowerModel { get { return ModelCenter.Instance.GetModel<RuneTowerModel>(); } }
|
| | | BossHomeModel bossHomeModel { get { return ModelCenter.Instance.GetModel<BossHomeModel>(); } }
|
| | | TreasureModel treasureModel { get { return ModelCenter.Instance.GetModel<TreasureModel>(); } }
|
| | | DungeonUseBuffModel dungeonUseBuffModel { get { return ModelCenter.Instance.GetModel<DungeonUseBuffModel>(); } }
|
| | |
|
| | | #region Built-in
|
| | | protected override void BindController()
|
| | |
| | | m_BossInfosContainer.gameObject.SetActive(
|
| | | dataMapId == ElderGodAreaModel.ELDERGODAREA_MAPID
|
| | | || dataMapId == BossHomeModel.BOSSHOME_MAPID);
|
| | |
|
| | | if (dungeonUseBuffModel.IsDungeonUseBuff(dataMapId))
|
| | | {
|
| | | m_DungeonReturnBlood.gameObject.SetActive(true);
|
| | | m_DungeonReturnBlood.Display(dataMapId);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_DungeonReturnBlood.gameObject.SetActive(false);
|
| | | }
|
| | |
|
| | | m_GatherSoulDungeonBehaviour.gameObject.SetActive(dataMapId == GatherSoulDungeonModel.DUNGEON_MAPID);
|
| | | switch (dataMapId)
|
| | |
| | | m_BossInfosContainer.Dispose();
|
| | | m_AncientKing.UnInit();
|
| | | m_GatherSoulDungeonBehaviour.Dispose();
|
| | | m_DungeonReturnBlood.Dispose();
|
| | | DropItemManager.pickUpCallBack -= OnPickItem;
|
| | | MainInterfaceWin.Event_Duplicates -= OnChangeFuncBtnPosEvent;
|
| | | model.dungeonCoolDownEvent -= OnLeaveMapTimeEvent;
|