Add ChangeEvent() in FMOD Studio Event Emitter

programming
Nadine Ganz 2025-01-07 17:32:47 +01:00
parent 71fd8daad5
commit 56f7eb0408
1 changed files with 7 additions and 0 deletions

View File

@ -405,5 +405,12 @@ namespace FMODUnity
} }
return false; return false;
} }
public void ChangeEvent(EventReference eventRef)
{
Stop();
EventReference = eventRef;
Lookup();
}
} }
} }