(Redirected from NoDestroyUndo (Component))
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
When put on the root of an object, this component prevents the adding of an Undo step for destroying the object. This only works for when a user deletes the object via their context menu, but not if a Undo ProtoFlux node type creates an undo step for the object.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Usage
Attach to an object with a grabbable component. this will prevent the grabbable object from being brought back if it is destroyed.
Examples
Useful for objects that should be one of a kind, or other implementations.