ProtoFlux:Destroy Slot

From Resonite Wiki
Destroy Slot
*
Next
Instance
PreserveAssets
SendDestroyingEvent
Slots

Destroys the Provided Instance (Slot) when * (Call) is called.

Inputs

* (Call)

Call to destroy Instance (Slot)

Instance (Slot)

The slot to destroy

PreserveAssets (bool)

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

SendDestroyingEvent (bool)

Whether or not to send a destroying event to other nodes like On Destroying

Outputs

Next (Continuation)

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


Examples