Tutorial videos
Home
Developer
Discord
Search…
SWNetwork SDK Overview
Installation
Custom Unity Package
Tutorials
Third-Person Shooter
Basic Lobby
SDK
Network Client
Check-in
Game Servers
Network Status Event (beta)
Classes
Methods
CheckIn() Method
ConnectToRoom(Action<bool>) Method
DisconnectFromRoom () Method
FindSpawner(ushort) Method
Game Play
Lobby
Open Source Software Used
Credits
Powered By
GitBook
ConnectToRoom(Action<bool>) Method
Namespace: SWNetwork
Connects the local player to the room game servers.
Declaration
1
public
void
ConnectToRoom
(
Action
<
bool
>
callback
)
Copied!
Parameters
Type
Description
callback
Action<bool>
The method to invoke when the client is connected to the game servers of the room.
​
Previous
CheckIn() Method
Next
DisconnectFromRoom () Method
Last modified
3yr ago
Copy link
Contents