public void Init(IHotUpdatePath pather, IOriginAssetBundleUtil originConstData, IAssetConstUtil assetConstUtil) { // Debug.Log(assetConstUtil.GetType().FullName); Assert.IsNotNull(assetConstUtil); Assert.IsNotNull(assetConstUtil.NameToPath); this._assetConstUtil = assetConstUtil; }
public static void Init(IResourceLoader resourceLoader, IHotUpdatePath pather, IOriginAssetBundleUtil originConstData, IAssetConstUtil assetConstUtil) { Assert.IsNotNull(resourceLoader); _resourceLoader = resourceLoader; // Debug.Log("初始化"); _resourceLoader.Init(pather, originConstData, assetConstUtil); }
public void Init(IHotUpdatePath pather, IOriginAssetBundleUtil originConstData, IAssetConstUtil assetConstUtil) { if (null == pather) { return; } if (null == originConstData) { return; } this.originBundleConst = originConstData; this.pather = pather; assetBundleLoader = new AssetBundleLoader(); MainLoop.Instance.StartCoroutine(assetBundleLoader.StartBundleManager(pather, originConstData)); }