This is invoked when a match is joined.
La implementación por defecto de esta función inicia un cliente.
#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)); } } }