Esempio n. 1
0
        protected void Awake()
        {
            logWriter = new ConsoleLogWriter();

            if (AutoDiscoverServer)
            {
                AutoDiscoverInit();
            }
            else
            {
                //Connect();
            }

            networkConnectionAdapter = new NetworkConnectionAdapter();
        }
Esempio n. 2
0
        protected void Awake()
        {
            logWriter = new ConsoleLogWriter();
            if (IsEmulator)
            {
                Debug.Log("This is Emulator!!");
                ServerAddress = EmulServerAddress;
            }

            if (AutoDiscoverServer)
            {
                AutoDiscoverInit();
            }
            else
            {
                Connect();
            }

            networkConnectionAdapter = new NetworkConnectionAdapter();
        }