コード例 #1
0
    //void RedoVisuals()
    //{
    //    _opposingTeamIcon.ClearAll();

    //    foreach (var v in MatchInfo)
    //    {
    //        GameObject go = _opposingTeamIcon.AddElement();
    //        Text text = go.GetComponent<Text>();
    //        string tm1 = v.HomeTeamId.ToString();      // TODO IMPROVE
    //        string tm2 = v.AwayTeamId.ToString();
    //        text.text = tm1 + " vs " + tm2;
    //        UN.SetActive(go, true);
    //    }
    //}

    void OnDayStarted(LG_DayStartedEvent ev)
    {
        // TODO: implement current day highlighting
        // Backdrop.color = ev.Day == _matchInfo.Day ? _highlightColor : _defaultColor;
    }
コード例 #2
0
    void OnDayStarted(LG_DayStartedEvent ev)
    {
        // TODO: match panel is not highlighting today's matches

        //Backdrop.color = ev.Day == _matchInfo.Day ? _highlightColor : _defaultColor;
    }