private void OnTriggerEnter(Collider other) { if (!TriggerHelper.SatisfiesCondition(other)) { return; } DoActivateTrigger(); }
void OnCollisionEnter(Collision collision) { if (!TriggerHelper.SatisfiesCondition(collision.collider)) { return; } Animator.Play("fallingback"); }