Exemple #1
0
 /// <summary>
 /// 添加Bundle依赖的其它Bundle
 /// </summary>
 /// <param name="node"></param>
 internal void AddDepend(BundleNode node)
 {
     if (!dependNodes.Contains(node))
     {
         dependNodes.Add(node);
         node.RetainRef();
     }
 }
Exemple #2
0
 internal void InitNode(string assetPath, bool isScene, BundleNode node)
 {
     InitNode(assetPath);
     IsScene    = isScene;
     bundleNode = node;
     bundleNode.RetainRef();
     if (isScene)
     {
         bundleNode.SetUsedByScene(true);
     }
 }