Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     ButtonClearText.SetActive(false);
     songScrollList  = Content.GetComponent <SongScrollList>();
     InputField.text = Helpers.SearchText;
     OnButtonClick(Helpers.SongViewMode);
 }
Ejemplo n.º 2
0
    public void Setup(Song currentSong, SongScrollList currentScrollList)
    {
        song           = currentSong;
        nameLabel.text = song.songName;

        scrollList = currentScrollList;
    }
Ejemplo n.º 3
0
    // Use this for initialization
    void Start()
    {
        Color newCol;

        if (ColorUtility.TryParseHtmlString("#2196F3", out newCol))
        {
            green = newCol;
        }

        if (ColorUtility.TryParseHtmlString("#BBDEFB", out newCol))
        {
            white = newCol;
        }

        ButtonClearText.SetActive(false);
        songScrollList = Content.GetComponent <SongScrollList>();
        OnButtonClick(Helpers.SongViewMode);
    }