#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 pic.twitter.com/xYboVIZH1g
— Binary Impact (@BinaryImpactG) August 13, 2024