public override void Load() { base.Load(); if (assetBundleRes == null) { assetBundleRes = ResMgr.GetAssetBundleRes(Application.streamingAssetsPath + "/AssetBundles/" + assetBundleName); } asset = (assetBundleRes.Asset as AssetBundle).LoadAsset(Name); if (asset == null) { Debug.LogErrorFormat("AssetBundle{0} do not contain asset{1}", assetBundleRes, asset); } }