how to write foreach statement in unity code example Example: unity c# foreach foreach(var item in collection) { }