中文
Appearance
List.Remove(val)
List
删除列表中的指定元素(该方法只移除第一个检索到的元素)。
T
void
let list = new List<Number>(Number); list.AddRange([100, 200]); //移除元素 100 list.Remove(100); for (let index = 0; index < list.count; index++) { Debug.Log(list.get(index)); }