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 like transform.OfType()
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
-Iterate through the children of the transform like foreach (Transform child in transform) {...}
-Iterate with direct cast via .OfType like transform.OfType()
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈