private void OnTriggerStay(Collider other) { if (other.gameObject.name == "Key1" && Input.GetKeyDown(KeyCode.D)) { ui.CountN(); Destroy(gameObject); } else if (other.gameObject.name == "Key2" && Input.GetKeyDown(KeyCode.F)) { ui.CountN(); Destroy(gameObject); } else if (other.gameObject.name == "Key3" && Input.GetKeyDown(KeyCode.J)) { ui.CountN(); Destroy(gameObject); } else if (other.gameObject.name == "Key4" && Input.GetKeyDown(KeyCode.K)) { ui.CountN(); Destroy(gameObject); } }