hch
5 天以前 8e91ea34abd99ec2960f67580baf2133dc86799f
Main/System/Main/HeroFightingCardCell.cs
@@ -23,6 +23,7 @@
    [SerializeField] Image emptyLockImg;
    [SerializeField] Image redPointImg;
    [SerializeField] UIEffectPlayer unlockEffect;
    [SerializeField] GameObject onTip;  //上阵提示
    void OnEnable()
    {
@@ -63,11 +64,26 @@
                    redPointImg.SetActive(HeroUIManager.Instance.CanUnLock(HeroUIManager.Instance.lockIndexList[lockIndex]));
                }
            }
            if (onTip != null)
            {
                if (PlayerDatas.Instance.baseData.ExAttr1 / 100 < 601 && HeroManager.Instance.GetHeroCount() > index && index < 3)
                {
                    //新手期 可能因为一些操作原因没上阵英雄
                    onTip.SetActive(true);
                }
                else
                {
                    onTip.SetActive(false);
                }
            }
            return;
        }
        else
        {
            if (onTip != null)
            {
                onTip.SetActive(false);
            }
            clickHeroBtn.SetActive(true);
            clickEmptyBtn.SetActive(false);
        }