convert array to list Unity C#