添加虚拟列表插件

This commit is contained in:
2025-07-19 20:29:55 +08:00
parent 656e0b0652
commit 645d57c7c9
42 changed files with 233 additions and 4263 deletions

View File

@@ -131,7 +131,7 @@ namespace CreatGame.AssetBundle
/// <returns></returns>
private AssetBundleData CacheAssetBundles(string bundleName, GameObject bundle = null)
{
var data = new AssetBundleData(){assetBundleName = bundleName, assetBundle = GameObject.Instantiate(bundle)};
var data = new AssetBundleData(){assetBundleName = bundleName, assetBundle = bundle};
assetBundles.Add(bundleName, data);
return data;
}