- namespace YooAsset
 
- {
 
-     public static partial class YooAssets
 
-     {
 
-         public static bool CheckResExist(string assetPath)
 
-         {
 
-             ResourcePackage p = GetPackage("GameLogic");
 
-             p.PlayModeServices.ActiveManifest.AssetDic.TryGetValue(assetPath, out var r);
 
-             return r != null;
 
-         }
 
-     }
 
- }
 
 
  |