2025-12-23 19:47:06 -05:00
|
|
|
using System;
|
2025-12-08 05:27:53 -05:00
|
|
|
using SLSUtilities.FunctionalAnimation;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Cielonos.MainGame.FunctionalAnimation
|
|
|
|
|
{
|
2025-12-23 19:47:06 -05:00
|
|
|
[Serializable]
|
2025-12-08 05:27:53 -05:00
|
|
|
public class PlaySoundFX : FuncAnimPayloadBase
|
|
|
|
|
{
|
|
|
|
|
public string soundKey = "SoundKey";
|
|
|
|
|
|
|
|
|
|
public override void Invoke()
|
|
|
|
|
{
|
2026-01-17 11:35:49 -05:00
|
|
|
character.audioSc.audioContainer.PlaySoundFX(soundKey);
|
2025-12-08 05:27:53 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|