14 lines
No EOL
247 B
C#
14 lines
No EOL
247 B
C#
using UnityEngine;
|
|
|
|
namespace DefaultNamespace
|
|
{
|
|
public class AnimationSoundProxy : MonoBehaviour
|
|
{
|
|
public AudioSource AudioSource;
|
|
|
|
public void PlayWeaponSound(SoundLibrary library)
|
|
{
|
|
library.PlayRandomOneShot(AudioSource);
|
|
}
|
|
}
|
|
} |