示例#1
0
        void Update()
        {
            if (Environment == Environment.PC && Input.GetKeyDown(KeyCode.Delete))
            {
                NetworkController.CloseClient();
                Application.Quit();
            }

            if (!NetworkController.IsServer())
            {
                return;
            }
            binding.CheckForInput();
        }
示例#2
0
 void Update()
 {
     binding.CheckForInput();
 }