示例#1
0
    private void DisplayChallengeState()
    {
        var surplusTime = NormalDungeon.Instance.surplurTime.Fetch();

        m_SingleChallenge.SetState(surplusTime > 0 ? ButtonEx.State.Normal : ButtonEx.State.Disable);
        m_TeamChallenge.SetState(surplusTime > 0 ? ButtonEx.State.Normal : ButtonEx.State.Disable);
        m_Sweep.SetState(surplusTime > 0 ? ButtonEx.State.Normal : ButtonEx.State.Disable);
    }