示例#1
0
        /// <summary>
        /// 注册所有ui节点信息
        /// </summary>
        protected void RegistUINodes()
        {
            activeNodes = new List <UIInfoBase>();

            if ((LoadType & LoadType.Bundle) == LoadType.Bundle)
            {
                activeNodes.AddRange(B_Nodes.ConvertAll <UIInfoBase>(x => x));
            }

            if ((LoadType & LoadType.Prefab) == LoadType.Prefab)
            {
                activeNodes.AddRange(P_Nodes.ConvertAll <UIInfoBase>(x => x));
            }
        }
 /// <summary>
 /// 注册所有ui节点信息
 /// </summary>
 protected void RegistUINodes()
 {
     activeNodes = new List <UIInfoBase>();
     activeNodes.AddRange(B_Nodes.ConvertAll <UIInfoBase>(x => x));
     activeNodes.AddRange(P_Nodes.ConvertAll <UIInfoBase>(x => x));
 }