private IEnumerator InitializeBundleSystemInternal() { // set whether the bundle system debug UI is shown based on set bool BundleManager.ShowDebugGUI = showBundleSystemDebugGUI; // set whether the bundle system logs messages based on set bool BundleManager.LogMessages = logBundleSystemMessages; // initialize the bundle system and wait till finished yield return(BundleManager.Initialize()); // trigger event to denote that the bundle system is finished initializing BundleSystemSetupEvent.Trigger(); }
public void OnMMEvent(BundleSystemSetupEvent eventType) { // register all relevant prefabs for network spawnability //RegisterSpawnablePrefabs(); }