Exemple #1
0
 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));
 }
Exemple #2
0
 public BundleHolderMulti(BundleInfo bi, BundleMgr _mgr) : base(bi, _mgr)
 {
 }
Exemple #3
0
 public BundleHolderOne(BundleInfo bi, BundleMgr _mgr) : base(bi, _mgr)
 {
 }
Exemple #4
0
 protected BundleHolder(BundleInfo bi, BundleMgr _mgr)
 {
     info = bi;
     mgr  = _mgr;
 }