public void Reset() { _currentAmmo = _level.characteristicsTower[_level.current].Ammo; OnEndReload?.Invoke(); _last = 0f; _endReloadTime = 0f; _inReload = false; }
private void Reload(float currentTime, float endReloadTime) { if (endReloadTime - currentTime < 0) { _inReload = false; _currentAmmo = _level.characteristicsTower[_level.current].Ammo; OnEndReload?.Invoke(); } }