public void Init(LoadedCallback onInit) { if (AppConst.UseAssetBundle) { m_bundleNames.Clear(); LoadManifest(ManifestType.Lua_Bundles); LoadManifest(ManifestType.UI_Bundles); LoadManifest(ManifestType.World_Bundles); Util.Log("LoadManifest manifest over---------"); } FileHelper.AddBigBundleName("UI/Materials"); LoadedBundleCtrl.Instance.SetPersistentBundles(new string[] { "shaders" }); if (null != onInit) { onInit(null); } }