/// <summary>
 ///
 /// </summary>
 /// <param name="pathInfoParser">The parser for the asset path.</param>
 /// <param name="manager">The manager of Assetbundles.</param>
 /// <param name="useWeakCache">Whether to use weak cache, if it is true, use weak cache, otherwise close weak cache.
 /// Objects loaded from AssetBundles are unmanaged objects,the weak caches do not accurately track the validity of objects.
 /// If there are some problems after the Resource.UnloadUnusedAssets() is called, please turn off the weak cache.
 /// </param>
 public BundleResources(IPathInfoParser pathInfoParser, IBundleManager manager, bool useWeakCache) : base(pathInfoParser, manager, useWeakCache)
 {
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="pathInfoParser">The parser for the asset path.</param>
 /// <param name="manager">The manager of Assetbundles.</param>
 public BundleResources(IPathInfoParser pathInfoParser, IBundleManager manager) : this(pathInfoParser, manager, true)
 {
 }
 public SimulationResources(IPathInfoParser pathInfoParser, IBundleManager manager) : base(pathInfoParser, manager, false)
 {
 }
Exemple #4
0
 public AbstractResources(IPathInfoParser pathInfoParser, IBundleManager manager, bool useWeakCache)
 {
     this.pathInfoParser = pathInfoParser;
     this.bundleManager  = manager;
     this.useWeakCache   = useWeakCache;
 }
 public SimulationResources(IPathInfoParser pathInfoParser) : base(pathInfoParser, new SimulationBundleManager(), false)
 {
 }