UP-Viagg-io/Viagg-io/Assets/Scripts/Audio/OnStirringSound.cs

23 lines
403 B
C#
Raw Normal View History

2025-01-07 17:33:31 +01:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if FMOD_AVAILABLE
using FMOD;
using FMODUnity;
#endif
public class OnStirringSound : MonoBehaviour
{
[SerializeField]
EventReference stirringDrySoundRef;
[SerializeField]
StudioEventEmitter emitter;
void Start()
{
emitter.Stop();
emitter.ChangeEvent(stirringDrySoundRef);
}
}