Component:ConfirmationHandler: Difference between revisions

From Resonite Wiki
add info
add beginning sentence
 
Line 6: Line 6:
|Name=Confirmation Handler
|Name=Confirmation Handler
}}
}}
The '''ConfirmationHandler''' component  
The '''ConfirmationHandler''' component is used to handle confirming an action. (what the actions are is currently not documented)
{{stub}}


<!--T:2-->
<!--T:2-->
Line 32: Line 31:
[[Category:Components{{#translation:}}|Confirmation Handler]]
[[Category:Components{{#translation:}}|Confirmation Handler]]
[[Category:Components:Common UI:Utility{{#translation:}}|Confirmation Handler]]
[[Category:Components:Common UI:Utility{{#translation:}}|Confirmation Handler]]
[[Category:ComponentStubs]]

Latest revision as of 22:59, 18 March 2025

Component image 
File:ConfirmationHandlerComponent.png
Confirmation Handler component as seen in the Scene Inspector

The ConfirmationHandler component is used to handle confirming an action. (what the actions are is currently not documented)

Fields

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. Some components stop their functionality when this field is disabled, but some don't.
Label IField`1<String> The message of the Confirmation box
Color IField`1<ColorX> The color of the button before confirming is allowed.
OriginalLabel String The original label of the conformation before allowing the user to continue.
OriginalColor ColorX The original color of the Confirmation before allowing the user to continue.
RevertTime direct SyncTime The time to allow the user to click the button.

Usage

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

Examples

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

See Also