Awake() this class will look for an available game room or create a new one if none is found. This room will then be automatically joined and the game session is ready to be started.
lobbyName
: string |
The name of the lobby that will be automatically created when no available game rooms are found to be joined.
Signature
string lobbyName |
maxPlayersPerRoom
: int |
The maximum number of players allowed per game room.
Signature
int maxPlayersPerRoom |
maxRetries
: int |
The maximum number of retries this class will attempt to connect to a game room if a connection attempt fails.
Signature
int maxRetries |
retryInterval
: Vector2 |
The interval range, in seconds, from which a random value will be chosen and awaited before attempting a new connection after the previous attempt failed.
Signature
Vector2 retryInterval |