Exemple #1
0
    private void DisplayKillTimes()
    {
        var killTimes  = WorldBoss.Instance.killedTimes.Fetch();
        var totalTimes = WorldBoss.Instance.totalTimes.Fetch();

        m_KillTimes.SetText(StringUtil.Contact(killTimes, "/", totalTimes));
        m_KillTimes.SetColor(killTimes >= totalTimes ? ColorUtil.red : ColorUtil.green);
    }