private void Update() { if (_countdown) { _timer -= Time.deltaTime; _infoBar.UpdateTimer(_timer); if (_timer <= 0) { Unit.ActiveUnit.EndTurn(); } } }