| | |
| | | using System.Collections.Generic;
|
| | | using UnityEngine;
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public class AssetBundleUtility : SingletonMonobehaviour<AssetBundleUtility>
|
| | | {
|
| | | private List<AssetBundleInfo> m_AssetBundleInfoList = new List<AssetBundleInfo>();
|
| | |
| | | }
|
| | |
|
| | | public IEnumerator InitalizeUIResources()
|
| | | { |
| | | {
|
| | | #if !UNITY_IOS
|
| | | yield return StartCoroutine(Co_LoadAssetBundle(ResourcesPath.windowFileBundleName));
|
| | | yield return StartCoroutine(Co_LoadAssetBundle(ResourcesPath.uiprefabFileBundleName));
|
| | |
| | | #endif
|
| | |
|
| | | Sync_LoadAssetBundle(assetBundleName);
|
| | | if (m_AssetBundleDict.ContainsKey(assetBundleName)) |
| | | if (m_AssetBundleDict.ContainsKey(assetBundleName))
|
| | | {
|
| | | if (_type != null)
|
| | | {
|