コード例 #1
0
        internal void NotFound(string fullName)
        {
            if (fullName != null)
            {
                if (reportAssets)
                {
                    Package.Asset refBy = Current;

                    if (refBy != null)
                    {
                        AssetReport.instance.NotFound(fullName, refBy.fullName);
                    }
                    else
                    {
                        AssetReport.instance.NotFound(fullName);
                    }
                }

                if (failedAssets.Add(fullName))
                {
                    Util.DebugPrint("Asset not found:", fullName);
                    DualProfilerSource profiler = LoadingScreen.instance.DualSource;
                    profiler?.CustomAssetNotFound(ShorterAssetName(fullName));
                }
            }
        }
コード例 #2
0
 internal void NotFound(string fullName)
 {
     if (fullName != null && LevelLoader.instance.AddFailed(fullName))
     {
         Util.DebugPrint("Asset missing:", fullName);
         DualProfilerSource profiler = LoadingScreen.instance.DualSource;
         profiler?.CustomAssetNotFound(ShortAssetName(fullName));
     }
 }