mirror of https://github.com/tuyoogame/YooAsset
update extension sample
parent
6571faae4e
commit
fd9533d63f
|
@ -139,7 +139,7 @@ public static class ShaderVariantCollector
|
||||||
private static List<string> GetAllMaterials()
|
private static List<string> GetAllMaterials()
|
||||||
{
|
{
|
||||||
// 获取所有打包的资源
|
// 获取所有打包的资源
|
||||||
CollectResult collectResult = AssetBundleCollectorSettingData.Setting.GetPackageAssets(false, false, _packageName);
|
CollectResult collectResult = AssetBundleCollectorSettingData.Setting.BeginCollect(_packageName, false, false);
|
||||||
|
|
||||||
// 搜集所有材质球
|
// 搜集所有材质球
|
||||||
int progressValue = 0;
|
int progressValue = 0;
|
||||||
|
|
Loading…
Reference in New Issue