ProtoFlux:Destroy Slot Children

From Resonite Wiki
Destroy Slot Children
*
Next
Instance
PreserveAssets
SendDestroyingEvent
Slots

Remove all children of the provided Instance (Slot).

Inputs

* (Call)

Call to destroy the children slots of Instance (Slot)

Instance (Slot)

The slot to destroy all the children for.

PreserveAssets (bool)

Whether or not the assets associated with the children of the provided Instance (Slot) should stay or be instantly discarded

SendDestroyingEvent (bool)

Whether or not to send a destroying event of the children slots to other nodes like On Destroying

Outputs

Next (Continuation)

Sends an Impulse after * (Call) is called and Instance (Slot)'s children has been destroyed. will not fire if Instance (Slot) is null.


Examples