I am confused by a piece of example script in the documentation located here
https://docs.unity3d.com/Manual/ControllingGameObjectsComponents.html
At this piece of code.
And more specifically foreach (Transform t in transform), shouldn’t the code be
foreach (Transform t in waypoints) ?
I’m not seeing what array with the name “transform” it is referring to.