public override void LinkParent(CocoHolderBase parentHolder)
 {
     base.LinkParent(parentHolder);
     if (materialHolder != null)
     {
         materialHolder.LinkParent(this);
     }
 }
        public override void LinkParent(CocoHolderBase parentHolder)
        {
            base.LinkParent(parentHolder);

            var configHolder = (CocoAssetConfigHolder)ParentHolder;

            DressHolder = configHolder.GetRoleDressHolder(dressId);
            BodyHolder  = configHolder.GetRoleBodyHolder(bodyId);
        }
        public override void LinkParent(CocoHolderBase parentHolder)
        {
            base.LinkParent(parentHolder);

            if (!string.IsNullOrEmpty(coverLayerId))
            {
                var phased = coverLayerId.ToEnum(out m_CoverLayer);
                if (!phased)
                {
                    Debug.LogErrorFormat("{0}->LinkParent: phase cover layer id [{0}] for [{1}] failed !", coverLayerId, id);
                }
            }
        }
        public override void LinkParent(CocoHolderBase parentHolder)
        {
            base.LinkParent(parentHolder);

            LinkSubHolders(categoryConfigHolders);
            LinkCategoryHolders();

            LinkSubHolders(sceneConfigHolders);
            LinkSceneHolders();

            LinkSubHolders(roleDressConfigHolders);
            LinkRoleDressHolders();

            LinkSubHolders(roleBodyConfigHolders);
            LinkRoleBodyHolders();

            LinkSubHolders(roleConfigHolders);
            LinkRoleHolders();
        }
 public virtual void LinkParent(CocoHolderBase parentHolder)
 {
     m_ParentHolder = parentHolder;
 }
 public override void LinkParent(CocoHolderBase parentHolder)
 {
     base.LinkParent(parentHolder);
     LinkSubHolders(materialHolders);
     InitTargetSmrSet();
 }
 public override void LinkParent(CocoHolderBase parentHolder)
 {
     base.LinkParent(parentHolder);
     LinkSubHolders(modelHolders);
     LinkSubHolders(spriteHolders);
 }
 public override void LinkParent(CocoHolderBase parentHolder)
 {
     base.LinkParent(parentHolder);
     LinkSubHolders(itemHolders);
     InitItemDic();
 }
 public override void LinkParent(CocoHolderBase parentHolder)
 {
     base.LinkParent(parentHolder);
     LinkSubHolders(categoryHolders);
     InitCategoryItemIdSet();
 }
 public override void LinkParent(CocoHolderBase parentHolder)
 {
     base.LinkParent(parentHolder);
     LinkSubHolders(sceneHolders);
     InitSceneHolderDic();
 }