Finding the max Y position value in a list of game objects and assigning it to a variable?
Hi
So I have a list of game objects, currently the list is a list of transforms from these objects but I did have it as just a list of game objects previously. I want to find the max Y value of the list and assign it to a variable, anyone know the best way to do this?
Im a newbie so detailed explanations would be very much appreciated if possible.
Thanks
Comment