Exemple #1
0
 // ReSharper disable once UnusedMember.Global
 public static void ChangeAsync(int _no, FadeCanvas.Fade fadeType = FadeCanvas.Fade.InOut, bool isForce = false)
 {
     if (!(ReferenceEquals(BaseMap.mapRoot, null) || BaseMap.no != _no || isForce) ||
         !BaseMap.infoTable.TryGetValue(_no, out var info) ||
         info == null ||
         !ManifestInfo.Get(info.AssetBundleName, info.AssetName, out var manifest) ||
         Cursed.IsCursedManifest(manifest))
     {
         return;
     }
     Dependency.LoadDependency(info.AssetBundleName, manifest);
 }
Exemple #2
0
 // ReSharper disable once UnusedMember.Global
 public static void InitializeAssetBundleManager()
 {
     ManifestInfo.GetManifests().ForEach(Dependency.AddAssetBundleManifest);
 }