private void OnTriggerExit(Collider other) { if (other.CompareTag("Player") && this.CompareTag("Resume") && animator != null) { animator.SetBool("Show", false); topDownCamera.ResetDefaultCameraSettings(); } else if (other.CompareTag("Player") && this.CompareTag("Projects") && animator != null) { animator.SetBool("Show", false); topDownCamera.ResetDefaultCameraSettings(); } else if (other.CompareTag("Player") && this.CompareTag("Project") && animator != null) { animator.SetInteger("ProjectValue", 0); } }