Initial Commit
This commit is contained in:
commit
ee5c2f922d
2255 changed files with 547750 additions and 0 deletions
14
Assets/Scripts/AnimationSoundProxy.cs
Normal file
14
Assets/Scripts/AnimationSoundProxy.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace DefaultNamespace
|
||||
{
|
||||
public class AnimationSoundProxy : MonoBehaviour
|
||||
{
|
||||
public AudioSource AudioSource;
|
||||
|
||||
public void PlayWeaponSound(SoundLibrary library)
|
||||
{
|
||||
library.PlayRandomOneShot(AudioSource);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue