Feel滚
This commit is contained in:
@@ -159,7 +159,7 @@ namespace Cielonos.MainGame.Characters
|
||||
if (sourceItem != null)
|
||||
{
|
||||
sourceItem.audioContainer.PlaySoundFX("PerfectBlock");
|
||||
sourceItem.feedbackSc["PerfectBlock"]?.Play();
|
||||
sourceItem.feedbackSc.PlayFeedback("PerfectBlock");
|
||||
pObj = sourceItem.blockData.InstantiateBlockEffect(perfectEffectName, sourceCharacter, blockEffectPosition, Quaternion.identity);
|
||||
}
|
||||
else
|
||||
@@ -178,7 +178,7 @@ namespace Cielonos.MainGame.Characters
|
||||
if (sourceItem != null)
|
||||
{
|
||||
sourceItem.audioContainer.PlaySoundFX("NormalBlock");
|
||||
sourceItem.feedbackSc["NormalBlock"]?.Play();
|
||||
sourceItem.feedbackSc.PlayFeedback("NormalBlock");
|
||||
sourceItem.blockData.InstantiateBlockEffect(normalEffectName, sourceCharacter, blockEffectPosition, Quaternion.identity);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -2,7 +2,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Cielonos.MainGame.Characters.Inventory;
|
||||
using MoreMountains.FeedbacksForThirdParty;
|
||||
using Sirenix.OdinInspector;
|
||||
using SLSUtilities.General;
|
||||
using UnityEngine;
|
||||
@@ -157,7 +156,7 @@ namespace Cielonos.MainGame.Characters
|
||||
|
||||
if (sourceItem == null)
|
||||
{
|
||||
sourceCharacter?.feedbackSc["PerfectDodge"]?.Play();
|
||||
sourceCharacter?.feedbackSc.PlayFeedback("PerfectDodge");
|
||||
Debug.Log("Perfect Dodge!");
|
||||
}
|
||||
}
|
||||
@@ -168,7 +167,7 @@ namespace Cielonos.MainGame.Characters
|
||||
|
||||
if (sourceItem == null)
|
||||
{
|
||||
sourceCharacter?.feedbackSc["NormalDodge"]?.Play();
|
||||
sourceCharacter?.feedbackSc.PlayFeedback("NormalDodge");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using MoreMountains.Feedbacks;
|
||||
using SLSUtilities.General;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user