Advertisement
chrisall76

Untitled

Nov 10th, 2015
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.58 KB | None | 0 0
  1.         public void OnClickCreateMatchmakingGame()
  2.         {
  3.             lobbyManager.StartMatchMaker();
  4.             lobbyManager.matchMaker.CreateMatch(
  5.                 matchNameInput.text,
  6.                 (uint)lobbyManager.maxPlayers,
  7.                 true,
  8.                 "",
  9.                 lobbyManager.OnMatchCreate);
  10.  
  11.             lobbyManager.backDelegate = lobbyManager.StopHost;
  12.             lobbyManager.isMatchmaking = true;
  13.             lobbyManager.DisplayIsConnecting();
  14.  
  15.             lobbyManager.SetServerInfo("Matchmaker Host", lobbyManager.matchHost);
  16.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement