Ejemplo n.º 1
0
    public void SetBeatInfo(int index_, UIBeatList.InfoSelectedHandler selectedHandler_, GameInfo beatInfo)
    {
        _index           = index_;
        _selectedHandler = selectedHandler_;

        _title.text  = beatInfo._title;
        _length.text = UIUtil.ConverBeatLength(beatInfo._length);
    }
Ejemplo n.º 2
0
    public void SetBeatInfo(int index_, UIBeatList.InfoSelectedHandler selectedHandler_, BeatInfo beatInfo)
    {
        _index           = index_;
        _selectedHandler = selectedHandler_;

        _albumArt.sprite = Define.GetAlbumArtSprite(beatInfo);
        _title.text      = beatInfo._title;
        _difficulty.SetDifficulty(beatInfo._difficulty);
        _length.text = Define.ConverBeatLength(beatInfo._length);
        _cleared.SetActive(Define.IsSongCleared(beatInfo));
    }