Compare commits

..

No commits in common. 'main' and 'dev-ali' have entirely different histories.

@ -169,12 +169,12 @@ namespace D2D.Gameplay
Died?.Invoke();
if (!_isPlayer)
{
//float pitch = UnityEngine.Random.Range(0.8f, 1.2f);
//if (_enemySpawn.EnemyDeathAudio != null)
//{
// _enemySpawn.EnemyDeathAudio.pitch = pitch;
// _enemySpawn.EnemyDeathAudio.Play();
//}
float pitch = UnityEngine.Random.Range(0.8f, 1.2f);
if (_enemySpawn.EnemyDeathAudio != null)
{
_enemySpawn.EnemyDeathAudio.pitch = pitch;
_enemySpawn.EnemyDeathAudio.Play();
}
HapticPatterns.PlayPreset(HapticPatterns.PresetType.MediumImpact);
}
if (_isGrayFadeout)

Loading…
Cancel
Save