Exemple #1
0
 protected virtual void OnTriggerStay(Collider collider)
 {
     if (m_colliderProcessor != null)
     {
         m_colliderProcessor.OnTriggerStay(collider);
     }
 }
 private void OnTriggerStay(Collider collider)
 {
     if (colliderProcessor != null)
     {
         colliderProcessor.OnTriggerStay(collider);
     }
 }
Exemple #3
0
 private void OnTriggerStay(Collider collider)
 {
     if (controller != null)
     {
         if (!controller.IsHit(collider))
         {
             return;
         }
         controller.OnHitStay(collider);
     }
     if (colliderProcessor != null)
     {
         colliderProcessor.OnTriggerStay(collider);
     }
 }