Hey good people
Maybe I’m jumping the gun here, and it will become clear later. But I’m wondering: why the foreach? I think it’s a good thing to highlight (I’m a fan of foreach in other languages.) But as I was writing out the code I was just thinking: have I not just taken a list of transforms, iterated through it to construct a new list of transforms, then returned it? Why not just return the original list of transforms (the variable pathPrefab)? Is it essentially reformatting the object to the correct type?
Thanks