I’m using UnityScript. I want to insert an item in the middle of an array (in the specific position).
var arr: Array = new Array(String);
arr.Push("A");
arr.Push("B");
arr.Push("D");
arr.Push("E");
arr.Insert(2, "C");
I’ve used “splice” method in ActionScript for that. How can I do it in Unity?