Table of Contents

Method DestroyChildrenImmediate

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

DestroyChildrenImmediate(Transform)

Destroys all child GameObjects of this transform immediately using DestroyImmediate(Object, bool).

public static void DestroyChildrenImmediate(this Transform transform)

Parameters

transform Transform

Remarks

Prefer DestroyChildren(Transform) during play mode; use this in editor scripts.