public void enterOnMatch(ButtonMatchController button) { turnOffBroadcast(); StopCoroutine(recycleMatches()); NetworkController.singleton.networkAddress = button.lanMatch.fromAddress; NetworkController.singleton.StartClient(); Debug.Log("New player entered on match."); }
private void joinGame(ButtonMatchController button) { if (lanMode) { LanController.instance.enterOnMatch(button); } else { RemoteController.instance.enterOnMatch(button); } }
public void enterOnMatch(ButtonMatchController button) { if (GameManager.instance.lanMode) { lanDiscovery.enterOnMatch(button); } else { onlineDiscovery.enterOnMatch(button); } }
public void enterOnMatch(ButtonMatchController button) { // Enter on the game StopAllCoroutines(); if (isBroadcasting) { StopBroadcast(); } isBroadcasting = false; NetworkController.singleton.networkAddress = button.lanMatch.fromAddress; NetworkController.singleton.StartClient(); Debug.Log("Lan Discovery says: Entered on a match."); }
internal void enterOnMatch(ButtonMatchController button) { //throw new NotImplementedException(); }
public void enterOnMatch(ButtonMatchController button) { Debug.Log("Online Discovery says: Entering on match."); stopListeningMatches(); NetworkController.Match.JoinMatch(button.match.networkId, "", "", "", 0, 0, NetworkController.singleton.OnMatchJoined); }