配列の index
番目の要素を取り除きます
var arr = new Array ("Hello", "and good morning", "World");
// remove "and good morning" arr.RemoveAt(1); // Prints "Hello,World" print (arr);
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { public ArrayList arr = new Array("Hello", "and good morning", "World"); void Example() { arr.RemoveAt(1); print(arr); } }