Component:ButtonDestroy: Difference between revisions

From Resonite Wiki
mNo edit summary
m add photo
Line 1: Line 1:
{{Infobox Component
{{Infobox Component
|Image=ButtonDestroyComponent.png
|Image=ButtonDestroyComponent.webp
|Name=Button Destroy
|Name=Button Destroy
}}
}}

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