void Update() { if (Environment == Environment.PC && Input.GetKeyDown(KeyCode.Delete)) { NetworkController.CloseClient(); Application.Quit(); } if (!NetworkController.IsServer()) { return; } binding.CheckForInput(); }
void Update() { binding.CheckForInput(); }