unity cast array to list code example Example: convert array to list Unity C# List<> someList = new List(someArray);