public void Tick() { if (!_isOutside) { return; } _timer -= Time.deltaTime; if (_timer <= 0) { PlayerEscaped?.Invoke(); } }
protected override void OnAction() { PlayerEscaped?.Invoke(); }