using System.Collections; using System.Collections.Generic; using UnityEngine; #if FMOD_AVAILABLE using FMOD; using FMODUnity; #endif public class OnStirringSound : MonoBehaviour { #if FMOD_AVAILABLE [SerializeField] EventReference stirringDrySoundRef; [SerializeField] StudioEventEmitter emitter; void Start() { emitter.Stop(); emitter.ChangeEvent(stirringDrySoundRef); } #endif }