The '''NoDestroyUndo''' component prevents an [[Undo]] step from being created when destroying the slot that the component is attached to.
{{Note|This component is currently non-functional and using it will have no effect. see issue [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/979 #979].|warning}}
<!--T:2-->
<!--T:2-->
Line 15:
Line 19:
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Attach to the root slot that will be destroyed. this will prevent the slot from being brought back through undoing after it is destroyed.
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
Useful for objects that should be one of a kind, or other implementations.