Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Component:WorldCloseDialog

From Resonite Wiki
This is a Userspace component — It has reduced or no functionality outside of userspace but it can be attached to objects in a normal world. Changing components in userspace is not recommended and may break functionality of your dashboard. Proceed with caution even if you know what you're doing.
Component image 
World Close Dialog component as seen in the Scene Inspector

The WorldCloseDialog component is used to confirm closing a world that the user is currently trying to close.

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.
_worldName Text The text field showing the name of the world being closed.
_saveButton Button The button used to save the world being closed.
_saveAsButton Button The button used to save the world as something for the world being closed.
_discardButton Button The button used to discard changes for the world being closed.
_saveAction WorldCloseAction The component to trigger with the request to save the world being closed.
_saveAsAction WorldCloseAction The component to trigger with the request to save the world as something for the world being closed.
_discardAction WorldCloseAction The component to trigger with the request to discard changes for the world being closed.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
Close:Action Action Tells the world to close.
OnCancel:ButtonEventHandler ButtonEventHandler Tells the dialog to cancel closing the world.

Usage

Not used directly by the user.

Examples

Generated when the user tries to close a world that has unsaved changes.

See Also