void Start() { RuntimeUtils.EnforceLibraryOrder(); if (Preload) { Lookup(); eventDescription.loadSampleData(); RuntimeManager.StudioSystem.update(); FMOD.Studio.LOADING_STATE loadingState; eventDescription.getSampleLoadingState(out loadingState); while (loadingState == FMOD.Studio.LOADING_STATE.LOADING) { System.Threading.Thread.Sleep(1); eventDescription.getSampleLoadingState(out loadingState); } } HandleGameEvent(EmitterGameEvent.ObjectStart); }