예제 #1
0
        public void OnClickDedicated()
        {
            lobbyManager.ChangeTo(null);
            lobbyManager.StartServer();

            lobbyManager.backDelegate = lobbyManager.StopServerClbk;
        }
예제 #2
0
        public void OnClickDedicated()
        {
            lobbyManager.ChangeTo(null);
            lobbyManager.StartServer();

            lobbyManager.backDelegate = lobbyManager.StopServerClbk;

            lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.networkAddress);
        }
예제 #3
0
        public void OnClickDedicated()
        {
            lobbyServerList.gameObject.SetActive(false);
            lobbyManager.ChangeTo(null);
            lobbyManager.StartServer();

            lobbyManager.backDelegate = lobbyManager.StopServerClbk;

            lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.networkAddress);
        }
예제 #4
0
        public void OnClickDedicated()
        {
            _lobbyManager.ChangeTo(null);
            _lobbyManager.networkPort = NetServer.DefaultPort;
            _lobbyManager.StartServer();

            _lobbyManager.backDelegate = _lobbyManager.StopServerClbk;

            _lobbyManager.SetServerInfo("Dedicated Server", _lobbyManager.networkAddress);
        }
예제 #5
0
        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());
        }
예제 #7
0
        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);
        }
예제 #9
0
        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);
        }