public void UnLoadAll() { DestoryAllGameObjects(); UnLoadAllIcon(); BundleLoaderManager.Instance.UnLoadAll(); if (m_AssetDestroyer != null) { m_AssetDestroyer.DestroyRightNow(); Component.DestroyImmediate(m_AssetDestroyer); m_AssetDestroyer = null; } }
public void InitManifest() { m_AssetDestroyer = gameObject.AddComponent <AssetDestroyer>(); BundleLoaderManager.Instance.Init(); }