// Use this for initialization void Start() { ButtonClearText.SetActive(false); songScrollList = Content.GetComponent <SongScrollList>(); InputField.text = Helpers.SearchText; OnButtonClick(Helpers.SongViewMode); }
public void Setup(Song currentSong, SongScrollList currentScrollList) { song = currentSong; nameLabel.text = song.songName; scrollList = currentScrollList; }
// 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); }