Component:ButtonDestroy

From Resonite Wiki
Revision as of 18:19, 10 April 2024 by Alizard (talk | contribs)
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