c# for i in range loop unity code example Example: for loop unity for (int i = 0; i < 50; i++) { //Do something 50 times }