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