private void Update() { while (assetBundlesToLoad.Count != 0) { string bundle = assetBundlesToLoad.Dequeue(); StartCoroutine(BundleClient.GetAssetBundle(bundle, ReceiveAssetBundle, (progress) => { Debug.Log(Mathf.RoundToInt(progress * 100) + " % Loading Progress (Bundle: \"" + bundle + "\")"); })); } }
void OnApplicationQuit() { BundleClient.OnApplicationQuit(); }