TransformExt.DestroyAllChildren Method

Overload List

NameDescription
Public methodStatic memberDestroyAllChildren(Transform) Destroys all children using Destroy().
Public methodStatic memberDestroyAllChildren<T>(Transform, Boolean) Destroys all children GameObjects using Destroy() that have a given component type.

See Also

Reference

TransformExt Class
UltimateXR.Extensions.Unity Namespace