Component:WorldCloseDialog
The WorldCloseDialog component is used to confirm closing a world that the user is currently trying to close.
More actions
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
| 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
| Method Name | Type & Arguments | 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.