public IEnumerator LoadAssetAsync <T>(string ab, string asset) where T : UnityEngine.Object { string abName = ab + GameHelper.GetABExt(Application.platform); yield return(StartCoroutine(GetLoader(abName).LoadAssetAsync <T>(abName, asset))); }
/// <summary> /// 返回是否加载了某个ab包 /// </summary> public bool IsAssetBundleLoaded(string abName) { abName += GameHelper.GetABExt(Application.platform); return(GetLoader(abName).GetAssetBundle(abName) != null); }
void Awake() { downloadPath = GameHelper.GetDownloadPath(false); downloadLoadPath = GameHelper.GetDownloadPath(); }