private void OnTriggerExit(Collider other) { animator.SetBool(hashFadeIn, false); if (currentInteractionHandler == this) { currentInteractionHandler = null; } }
private void OnTriggerEnter(Collider other) { animator.SetBool(hashFadeIn, true); currentInteractionHandler = this; }