Esempio n. 1
0
 /// <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)
 {
 }
Esempio n. 2
0
 /// <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)
 {
 }
Esempio n. 3
0
 public SimulationResources(IPathInfoParser pathInfoParser, IBundleManager manager) : base(pathInfoParser, manager, false)
 {
 }
Esempio n. 4
0
 public AbstractResources(IPathInfoParser pathInfoParser, IBundleManager manager, bool useWeakCache)
 {
     this.pathInfoParser = pathInfoParser;
     this.bundleManager  = manager;
     this.useWeakCache   = useWeakCache;
 }
Esempio n. 5
0
 public SimulationResources(IPathInfoParser pathInfoParser) : base(pathInfoParser, new SimulationBundleManager(), false)
 {
 }