Binary Impact @binaryimpact.de · Aug 13

#UnityTips The Transform class implements IEnumerable. With that you could i.e.: - Iterate through the children of the transform like foreach (Transform child in transform) {...} - Iterate with direct cast via .OfType<T> like transform.OfType<RectTransform>() Example👇 #gamedev

4 likes 0 replies

?