Exemplo n.º 1
0
        public override void OnCommandRan(string command)
        {
            string[] subCommand = command.Split(" ".ToCharArray());
            if (subCommand[0].ToLower() == "connect")
            {
                debug.Log("starting client...");

                ServerRunner.StartClient(subCommand[1]);
            }
        }