protected virtual void Error() { _hasError = true; this.state = FastLoadState.State_Error; this.bundleInfo = null; FireEvent(); }
protected virtual void Complete() { if (bundleInfo == null) { this.state = FastLoadState.State_Complete; this.bundleInfo = bundleManager.CreateBundleInfo(this, null, _bundle); this.bundleInfo.isReady = true; this.bundleInfo.onUnloaded = OnBundleUnload; _bundle = null; } FireEvent(); }
private void OnBundleUnload(FastAssetBundleInfo abi) { this.bundleInfo = null; this.state = FastLoadState.State_None; }