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

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