|
|
|
|
|
|
|
|
|
|
public class NPCAudio : CharacterAudio |
|
|
|
{ |
|
|
|
[SerializeField] private AudioCueSO idleSound, talk, footstep; |
|
|
|
[SerializeField] private AudioCueSO singShort, singLong, talk, footstep; |
|
|
|
public void PlayIdle() => _sfxEventChannel.RaisePlayEvent(idleSound, _audioConfig, transform.position); |
|
|
|
public void PlaySingShort() => _sfxEventChannel.RaisePlayEvent(singShort, _audioConfig, transform.position); |
|
|
|
public void PlaySingLong() => _sfxEventChannel.RaisePlayEvent(singLong, _audioConfig, transform.position); |
|
|
|
|
|
|
|
} |