Component:ButtonDestroy: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
m add photo
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Infobox Component
{{Infobox Component
|Image=ButtonDestroyComponent.png
|Image=ButtonDestroyComponent.webp
|Name=Button Destroy
|Name=Button Destroy
}}
}}
{{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:27, 10 April 2024

Component image 
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