コード例 #1
0
        public void OnClickDedicated()
        {
            lobbyManager.ChangeTo(null);
            lobbyManager.StartServer();
            lobbyManager.GetComponent <LobbyNetworkDiscovery>().StartBroadcast();

            lobbyManager.backDelegate = lobbyManager.StopServerClbk;

            lobbyManager.SetServerInfo("Dedicated Server", lobbyManager.networkAddress);
        }
コード例 #2
0
        void JoinMatch()
        {
            lobbyManager.ChangeTo(lobbyManager.lobbyPanel);

            lobbyManager.networkAddress = lanMatch.ipAddress;
            lobbyManager.StartClient();

            lobbyManager.backDelegate = lobbyManager.StopClientClbk;
            lobbyManager.DisplayIsConnecting();

            lobbyManager.SetServerInfo("Connecting...", lobbyManager.networkAddress);
        }