16 lines
290 B
C#
16 lines
290 B
C#
using DarkTonic.MasterAudio;
|
|
using Mirror;
|
|
|
|
public class DoubleTubeMuzzle : NetworkBehaviour
|
|
{
|
|
[SoundGroup] public string shootSound;
|
|
|
|
void Start()
|
|
{
|
|
if (isClient)
|
|
{
|
|
MasterAudio.PlaySound3DAtVector3(shootSound, transform.position);
|
|
}
|
|
}
|
|
}
|