标签:each count log font 元素 add debug for foreach
using System.Collections;
新建:
ArrayList list = new ArrayList();
添加元素:
int a = 1;
list.Add(a);
遍历:
foreach(int a in list){
Debug.Log(a);
}
统计长度:
Debug.Log (list.Count);
标签:each count log font 元素 add debug for foreach
原文地址:http://www.cnblogs.com/huangshiyu13/p/5987032.html