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