forked from nikita/muzika-gromche
Sort tracks by name, so they are easier to find in the config
This commit is contained in:
parent
8842005898
commit
a950093f8e
|
@ -555,6 +555,9 @@ namespace MuzikaGromche
|
|||
|
||||
void Awake()
|
||||
{
|
||||
// Sort in place by name
|
||||
Array.Sort(Tracks.Select(track => track.Name).ToArray(), Tracks);
|
||||
|
||||
string dir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
|
||||
UnityWebRequest[] requests = new UnityWebRequest[Tracks.Length * 2];
|
||||
for (int i = 0; i < Tracks.Length; i++)
|
||||
|
|
Loading…
Reference in New Issue