The label to display for the dropdown.
The selectable items for the dropdown.
可选
dropdownOptions: ModalFormDataDropdownOptionsThe optional additional values for the dropdown creation.
世界修改
Player to show this dialog to.
Creates and shows this modal popup form. Returns asynchronously when the player confirms or cancels the dialog.
The label to display for the slider.
The minimum selectable possible value.
The maximum selectable possible value.
可选
sliderOptions: ModalFormDataSliderOptionsThe optional additional values for the slider creation.
The label to display for the textfield.
The place holder text to display.
可选
textFieldOptions: ModalFormDataTextFieldOptionsThe optional additional values for the textfield creation.
The label to display for the toggle.
可选
toggleOptions: ModalFormDataToggleOptionsThe optional additional values for the toggle creation.
Used to create a fully customizable pop-up form for a player.
示例: showBasicModalForm.ts