This is invoked when a match is joined.
The default implementation of this starts a client.
#pragma strict class MatchManager extends NetworkManager { public function OnMatchJoined(matchInfo: JoinMatchResponse) { if (matchInfo.success) { StartClient(new MatchInfo(matchInfo)); } } }
class MatchManager : NetworkManager { public override void OnMatchJoined(JoinMatchResponse matchInfo) { if (matchInfo.success) { StartClient(new MatchInfo(matchInfo)); } } }