So the modular arithmetic solution Sam mentioned would be something like this?
int j = (i + 1) % transform.childCount;
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
So the modular arithmetic solution Sam mentioned would be something like this?
int j = (i + 1) % transform.childCount;
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.