Number of distinct active prompts for this player.
Total number of valid prompts that this player has responded to.
Total number of distinct prompts for this player, both active and historical.
Creates a prompt that resolves when the player clicks on the given button. The button will be displayed in a message seen only by the prompted player. When resolved, the clicked button will be returned.
Button to be clicked.
Optional
options: IButtonClickOptionsOptional options to configure the prompt.
A promise that resolves to the clicked button.
Creates a prompt that resolves when the player clicks on the given button. The button will be displayed in a message seen only by the prompted player. When resolved, the clicked button will be returned.
Text to be displayed on the button.
Optional
options: IButtonClickOptionsOptional options to configure the prompt.
A promise that resolves to label.
Creates a prompt that resolves when the player clicks on the given button. The button will be displayed in a message seen only by the prompted player. When resolved, the value specified in return will be returned.
Button to be clicked.
Options to configure the prompt, including the return value.
A promise that resolves to return.
Creates a prompt that resolves when the player clicks on the given button. The button will be displayed in a message seen only by the prompted player. When resolved, the value specified in return will be returned.
Text to be displayed on the button.
Options to configure the prompt, including the return value.
A promise that resolves to return.
Creates a prompt that resolves when the player clicks on the given GameObject. An accompanying message must be provided in message that will be displayed to the prompted player. When resolved, the clicked object will be returned.
GameObject to be clicked.
Options to configure the prompt, including the message text.
A promise that resolves to the clicked object.
Creates a prompt that resolves when the player clicks on the given GameObject. An accompanying message must be provided in message that will be displayed to the prompted player. When resolved, the value specified in return will be returned.
GameObject to be clicked.
A promise that resolves to return.
Creates a prompt that resolves when any of the given GameObjects are clicked on. An accompanying message must be provided in message that will be displayed to the prompted player. When resolved, the clicked object will be returned.
The set of objects to be clicked.
Options to configure the prompt, including the message text.
A promise that resolves to the clicked object.
Optional
options: ITextInputOptionsGenerated using TypeDoc
Helper to create input prompts for a player. The prompts will be created as promises that: Resolve when the player responds to the prompt Reject when the prompt is cancelled
Prompts will cancel if they are created in an anyExclusive call, and another prompt or delay created in the same call resolved first. Prompts will also cancel when created in an all call, and another promise in that call rejected.