I'm trying to write a simple chat box, and I found a really simple piece of code for it on the unity forums, but its in UnityScript (similar to JavaScript).
I tried to convert the code to C# and I've had some success, but the problem is that the code uses Array.Unshift()
, which prepends an item to an array. I'm trying to find some simple way of doing this in C#, but for the life of me I can't get it to work.
What is the C# equivalent of Array.Unshift
?