YooAssetGFG.cs 443 B

123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace YooAsset
  7. {
  8. public class YooAssetGFG
  9. {
  10. public static bool CheckDressUpResExist(string assetPath)
  11. {
  12. var p = YooAssets.GetPackage("DressUp");
  13. p.PlayModeServices.ActiveManifest.AssetDic.TryGetValue(assetPath, out var r);
  14. return r != null;
  15. }
  16. }
  17. }