public void UpdateRemainNum() { int nShowNum = m_CurRemindNum; //nShowNum += RestaurantData.m_restaurantTipsCount; nShowNum += BelleData.GetBelleTipCount(); //nShowNum += GetPartnerTipCount(); nShowNum += SkillRootLogic.GetCanLevUpSkillCount(); //nShowNum += GetMasterAndGuildTipCount(); nShowNum += GetSystemLogicTipCount(); // 系统提示 nShowNum += GetGemHoleCanOpenCount(1); //宝石40开孔 nShowNum += GetGemHoleCanOpenCount(2); //宝石70开孔 nShowNum += GetGemHoleCanOpenCount(3); //宝石90开孔 nShowNum += GetPartnerSkillCanLevelUpCount(); //宠物技能升级 if (null != GameManager.gameManager.PlayerDataPool) { nShowNum += GameManager.gameManager.PlayerDataPool.m_objMountParam.MountRemindFlagCount(); } // // bool bRet = GameManager.gameManager.PlayerDataPool.CommonData.GetCommondFlag((int)USER_COMMONFLAG.CF_AUTOENHANCE_OPENFLAG); // GameManager.gameManager.PlayerDataPool.CommonData.AskSetCommonFlag((int)USER_COMMONFLAG.CF_AUTOENHANCE_OPENFLAG, true if (nShowNum > 0 && GameManager.gameManager.RunningScene != (int)Games.GlobeDefine.GameDefine_Globe.SCENE_DEFINE.SCENE_FB_CABALINTRO) { m_RemindNum.SetActive(true); //m_RemindNumLabel.text = nShowNum.ToString(); } else { m_RemindNum.SetActive(false); } }
public void UpdateSkillTip() { if (null == m_SkillCountTip) { return; } if (SkillRootLogic.GetCanLevUpSkillCount() > 0) { m_SkillCountTip.gameObject.SetActive(true); // m_SkillCountTip.text = SkillRootLogic.GetCanLevUpSkillCount().ToString(); } else { m_SkillCountTip.gameObject.SetActive(false); } }