for loop alternate traversing order c++ code example
Example: reverse for loop unity
for (int i = myArray.Length - 1; i >= 0; i--)
{
// Do something ...
}
for (int i = myArray.Length - 1; i >= 0; i--)
{
// Do something ...
}