foreach Type in array unity3d code example Example: unity c# foreach foreach(var item in collection) { }