Component:ButtonDestroy: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
mNo edit summary
Line 4: Line 4:
}}
}}
{{stub}}
{{stub}}
 
The ButtonDestroy component destroys the Target on interaction.
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
Line 14: Line 14:


== Examples ==
== Examples ==
The ButtonDestroy component can be found in many of the default interfaces on the close button.


== See Also ==
== See Also ==

Revision as of 18:19, 10 April 2024

Component image 
File:ButtonDestroyComponent.png
Button Destroy component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


The ButtonDestroy component destroys the Target on interaction.

Usage

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.
Target IDestroyable
FindObjectRoot Bool

Behavior

Examples

The ButtonDestroy component can be found in many of the default interfaces on the close button.

See Also