Exemplo n.º 1
0
 private void OnTriggerStay(Collider obj)
 {
     if (obj.GetComponent <ObjectID>().ID == SpecifiedID)
     {
         StayEvent.Invoke();
     }
 }
Exemplo n.º 2
0
 private void OnTriggerStay(Collider other)
 {
     if (other.CompareTag(tagtocompare))
     {
         StayEvent.Invoke();
     }
 }
Exemplo n.º 3
0
 public override void StayTriggerAction()
 {
     if (EnterEvent != null)
     {
         StayEvent.Invoke();
     }
 }
Exemplo n.º 4
0
 private void OnTriggerStay(Collider other)
 {
     if (other.CompareTag("Player"))
     {
         StayEvent.Invoke();
     }
 }