Component:NewWorldDialog
From Resonite Wiki
More actions
Component image 
New World Dialog component as seen in the Scene Inspector

The NewWorldDialog component is used internally to control the new world prompt when making a new world in dash space.
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
|
TextField | The field to define the name of the new world. |
_mobileFriendly
|
Checkbox | Whether the new world should be mobile friendly. |
_unsafeMode
|
Checkbox | Whether the new world is going to be unsafe mode. |
_autoPort
|
Checkbox | Whether the new world should boot with auto defined port. |
_port
|
TextField | The port of the new world. |
_accessLevel
|
SessionAccessLevel | The access level of the new world. |
CustomStart
|
delegate of identity Action`1<NewWorldDialog> | The Sync delegate to call, passing this Dialog upon the world being made. |
_presetIndex
|
Int | Which preset to use for the new world. |
_uiBuilt
|
Bool | Whether the world UI is built. |
_accessLevelRadios
|
list of ValueRadio`1<SessionAccessLevel> | A list of session access level options for the UI. |
_initialized
|
Bool | Whether the UI is built and ready. |
Sync Delegates
| Method Name | Method type and Arguments. | Is the method hidden? | Description |
|---|---|---|---|
OnStartSession:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the start session button is touched. |
Usage
Used internally.