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

        scrollList = currentScrollList;
    }
Example #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);
    }