public static BundleHolder Gen(BundleInfo bi, BundleMgr _mgr) { if (bi.type == AssetType.MULTI_ASSETS || bi.type == AssetType.SHADER_COMPOSE) { return(new BundleHolderMulti(bi, _mgr)); } else if (bi.type == AssetType.SCENE) { return(new BundleHolderZero(bi, _mgr)); } return(new BundleHolderOne(bi, _mgr)); }
public BundleHolderMulti(BundleInfo bi, BundleMgr _mgr) : base(bi, _mgr) { }
public BundleHolderOne(BundleInfo bi, BundleMgr _mgr) : base(bi, _mgr) { }
protected BundleHolder(BundleInfo bi, BundleMgr _mgr) { info = bi; mgr = _mgr; }