ProtoFlux:Undoable Destroy

From Resonite Wiki
Undoable Destroy
*
Next
Target
Preserve Assets
Undo


The node will create an undo step in the context menu of the person who the impulse came from. The destruction of the slot provided in Target (Slot) will be undo-able by the user.

when this node is paired with an Undo Batch, it's description if has one, will be ignored, and will be part of the Undo Batch's undo step instead.

Inputs

Input (Call)

Create the undo step and set the Slot to be stored in the Undo Manager with references cut for later re-instantiating upon undoing the Slot's destruction. (Basically make the destruction of the slot provided undoable)

Target (Slot)

The Slot to undo destruction for this undo step.

PreserveAssets (Boolean)

Whether to keep the assets store able in an Asset Provider associated with this slot or discard them. Discarding them may lead to missing textures or assets.

Outputs

Output (Continuation)

Continues to More undo steps, continues to code that eventually ends, or an End Undo Batch that continues to eventually ended code.

Examples