Password Popup
It's a component that displays a popup to the user to input a password, used to join a private lobby.
Joins the given lobby ID when the user clicks the join button, or closes the popup when the user clicks the close button.
Methods
OpenPopup
Declaration
void OpenPopup(string lobbyId)
Parameters
Parameter | Type | Description |
---|---|---|
lobbyId* | string | The ID of the lobby to join. |
* Required parameter.
Description
Enables the popup game object and sets the lobby ID to join.