Beispiel #1
0
    private void OnTriggerExit(Collider other)
    {
        if (IsActivated)
        {
            return;
        }

        IsActivated = true;
        RespawnZoneEvent.Invoke(this);
    }
Beispiel #2
0
 private void OnTriggerEnter(Collider other)
 {
     IsActivated = true;
     RespawnZoneEvent.Invoke(this);
 }