|
|
@ -3,6 +3,7 @@ using System.Collections;
|
|
|
|
using D2D.Core;
|
|
|
|
using D2D.Core;
|
|
|
|
using D2D.Utilities;
|
|
|
|
using D2D.Utilities;
|
|
|
|
using DG.Tweening;
|
|
|
|
using DG.Tweening;
|
|
|
|
|
|
|
|
using Lofelt.NiceVibrations;
|
|
|
|
using UnityEngine;
|
|
|
|
using UnityEngine;
|
|
|
|
using static D2D.Utilities.CommonGameplayFacade;
|
|
|
|
using static D2D.Utilities.CommonGameplayFacade;
|
|
|
|
|
|
|
|
|
|
|
@ -169,6 +170,7 @@ namespace D2D.Gameplay
|
|
|
|
if(!_isPlayer)
|
|
|
|
if(!_isPlayer)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_enemySpawn.EnemyDeathAudio.Play();
|
|
|
|
_enemySpawn.EnemyDeathAudio.Play();
|
|
|
|
|
|
|
|
HapticPatterns.PlayPreset(HapticPatterns.PresetType.MediumImpact);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (_isGrayFadeout)
|
|
|
|
if (_isGrayFadeout)
|
|
|
|
{
|
|
|
|
{
|
|
|
|