public override Object LoadAsset(string name, Type t) { Check(); string path = mResConfig.GetCfg(name).gamePath; return(UnityEditor.AssetDatabase.LoadAssetAtPath(path, t)); }
public override void RemoveAsset(string resName) { string abName = mResConfig.GetCfg(resName).abName; if (mBundleDic.ContainsKey(abName)) { mBundleDic[abName].UnLoad(); List <string> list = mBundleDic[abName].GetClearBundle(); foreach (var name in list) { mBundleDic.Remove(name); } } }