diff --git a/Viagg-io/Assets/Plugins/FMOD/src/StudioEventEmitter.cs b/Viagg-io/Assets/Plugins/FMOD/src/StudioEventEmitter.cs index e709389..36db7bc 100644 --- a/Viagg-io/Assets/Plugins/FMOD/src/StudioEventEmitter.cs +++ b/Viagg-io/Assets/Plugins/FMOD/src/StudioEventEmitter.cs @@ -405,5 +405,12 @@ namespace FMODUnity } return false; } + + public void ChangeEvent(EventReference eventRef) + { + Stop(); + EventReference = eventRef; + Lookup(); + } } }