public void OnClickDedicated() { lobbyManager.ChangeTo(null); lobbyManager.StartServer(); lobbyManager.backDelegate = lobbyManager.StopServerClbk; }
public void OnClickDedicated() { lobbyManager.ChangeTo(null); lobbyManager.StartServer(); lobbyManager.backDelegate = lobbyManager.StopServerClbk; lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.networkAddress); }
public void OnClickDedicated() { lobbyServerList.gameObject.SetActive(false); lobbyManager.ChangeTo(null); lobbyManager.StartServer(); lobbyManager.backDelegate = lobbyManager.StopServerClbk; lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.networkAddress); }
public void OnClickDedicated() { _lobbyManager.ChangeTo(null); _lobbyManager.networkPort = NetServer.DefaultPort; _lobbyManager.StartServer(); _lobbyManager.backDelegate = _lobbyManager.StopServerClbk; _lobbyManager.SetServerInfo("Dedicated Server", _lobbyManager.networkAddress); }
public void OnClickDedicated() { lobbyManager.ChangeTo(null); lobbyManager.StartServer(); lobbyManager.backDelegate = lobbyManager.StopServerClbk; lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.networkAddress); m_soundManager.PlaySound(SoundManager.AudioClipList.AC_clickBtnMenu); }
public void OnClickDedicated() { // A dedicated Server was created, set the GameManager state to DEDICATED_SERVER lobbyManager.gameState = GameState.DEDICATED_SERVER; lobbyManager.ChangeTo(null); lobbyManager.StartServer(); lobbyManager.backDelegate = lobbyManager.StopServerClbk; lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.GetIPAddress()); }
public void OnClickDedicated() { SoundManager.instance.PlaySound(5, 1.0f, AudioType.SFX); lobbyManager.ChangeTo(null); lobbyManager.StartServer(); lobbyManager.backDelegate = lobbyManager.StopServerClbk; lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.networkAddress); }
public void OnClickDedicated() { lobbyManager.ChangeTo(null); lobbyManager.StartServer(); // TODO: Need to set NPCs for server //lobbyManager.ser lobbyManager.backDelegate = lobbyManager.StopServerClbk; lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.networkAddress); }
public void OnClickDedicated() { /* * if (Time.time < lobbyManager.startTime + 90f) * { * lobbyManager.infoPanel.Display("Please wait while loading.\n" + (int)(lobbyManager.startTime + 90f - Time.time) + " seconds left.", "Close", null); + return; + } */ lobbyManager.ChangeTo(null); lobbyManager.minPlayers = 2; lobbyManager.maxPlayers = 5; lobbyManager.prematchCountdown = 5f; lobbyManager.networkAddress = "localhost"; //ipInput.text; lobbyManager.StartServer(); lobbyManager.backDelegate = lobbyManager.StopServerClbk; lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.networkAddress); }