So i recently found out i need to use lists instead of arrays and have been converting my stuff over, but i ran into a snafu. How can i do my resources.loadall(“music”) and put it into a list? It worked fine as an array, but i cant seem to find the correct syntax for this.
public List<AudioClip> _songs = new List<AudioClip>();
public List<AudioClip> randomSongs = new List<AudioClip>();
public void Start ()
{
_songs = Resources.LoadAll<AudioClip>("music");
}