重做杂兵

This commit is contained in:
SoulliesOfficial
2026-05-11 15:22:30 -04:00
parent 59264706c3
commit 2e00676794
49 changed files with 139495 additions and 70824 deletions

View File

@@ -26,7 +26,6 @@ namespace Cielonos.MainGame
public ItemBase itemSource;
public List<Fraction> targetFractions;
public Transform topParent;
public AudioContainer audioContainer;
public Collider areaCollider;
public Dictionary<string, GameObject> functionalParts;
@@ -74,12 +73,6 @@ namespace Cielonos.MainGame
{
//areaCollider.excludeLayers = LayerMask.GetMask("AttackAreaVFX", "DecoVFX", "Ignore Raycast");
}
audioContainer = GetComponent<AudioContainer>();
if (audioContainer != null)
{
audioContainer.soundEventDictionary = new Dictionary<string, AK.Wwise.Event>();
}
while (topParent.parent != null &&
//topParent.parent != creator.flexibleCenterPoint &&

View File

@@ -145,13 +145,6 @@ namespace Cielonos.MainGame
checkedObjects.Add(obj);
}
public void PlayHitSound(Vector3 position, string soundName)
{
if (hitSoundList.Count == 0) return;
attackArea.audioContainer.PlaySoundFX(soundName, position);
}
public void InvokeAllHitEvents(CharacterBase target, Vector3 hitPosition)
{
if (attackArea.canTriggerHitEvent)