protected override void SetListeners() { setting.close.SetListener(() => { NormalDungeon.Instance.CloseWindow(); }); m_SingleChallenge.SetListener(() => { NormalDungeon.Instance.EnterDungeon(); }); m_TeamChallenge.SetListener(() => { NormalDungeon.Instance.EnterDungeonGroup(); }); m_Sweep.SetListener(() => { NormalDungeon.Instance.Sweep(); }); }
public override void Display(object data) { base.Display(data); var bossId = (int)data; bossBrief = WorldBoss.Instance.GetBossBrief(bossId); m_SelectButton.SetListener(SelectBoss); DisplayBaseInfo(); m_Icon.gray = bossBrief.rebornTime.Fetch() > Time.realtimeSinceStartup; m_SelectedBehaviour.SetActive(bossBrief.selected.Fetch()); }
protected override void SetListeners() { base.SetListeners(); m_Goto.SetListener(GotoKillBoss); }