Files
Infratest/Assets/Code/Infrastructure/UI/Panels/MenuChoosePanel.cs
T
2026-01-27 12:33:40 +03:00

22 lines
620 B
C#

using Code.Infrastructure.Audio;
using Reflex.Attributes;
namespace Code.Infrastructure.UI.Panels
{
public class MenuChoosePanel : UIPanel
{
[Inject] IAudioService _audioService;
public void PlaySelectSound() => _audioService.PlayOneShot(AudioNames.UISounds, 7);
public void PlayDeselectSound() => _audioService.PlayOneShot(AudioNames.UISounds, 8);
public void PlayClickSound() => _audioService.PlayOneShot(AudioNames.UISounds, 1);
public override void Open()
{
}
public override void Close()
{
}
}
}