예제 #1
0
 public void UpdateChargeTip()
 {
     if (ChargeActivityLogic_SY.IsMonthCardCanGet() ||
         ChargeActivityLogic_SY.IsNeedClickToday() ||
         ChargeActivityLogic_CZ.IsGrowUpCanGet() ||
         ChargeActivityLogic_CZ.IsNeedClickToday() ||
         ChargeActivityLogic_XY.IsNeedShowTip() ||
         CostRebateLogic.IsRebateCanGet() ||
         CostRebateLogic.IsNeedClickToday() ||
         SpecialTimePayRebateLogic.IsRebateCanGet() ||
         SpecialTimePayRebateLogic.IsNeedClickToday() ||
         ChargeActivityLogic_MT.IsNeedClickToday())
     {
         m_RemainTips.gameObject.SetActive(true);
     }
     else
     {
         m_RemainTips.gameObject.SetActive(false);
     }
 }
예제 #2
0
 public void UpdateRemainTips()
 {
     //月卡
     if (ChargeActivityLogic_SY.IsMonthCardCanGet() ||
         ChargeActivityLogic_SY.IsNeedClickToday())
     {
         m_RemainMonthCardTips.gameObject.SetActive(true);
     }
     else
     {
         m_RemainMonthCardTips.gameObject.SetActive(false);
     }
     //成长基金
     if (ChargeActivityLogic_CZ.IsGrowUpCanGet() ||
         ChargeActivityLogic_CZ.IsNeedClickToday())
     {
         m_RemainGrowUpTips.gameObject.SetActive(true);
     }
     else
     {
         m_RemainGrowUpTips.gameObject.SetActive(false);
     }
     //许愿
     if (ChargeActivityLogic_XY.IsNeedShowTip())
     {
         m_WishingWellTips.gameObject.SetActive(true);
     }
     else
     {
         m_WishingWellTips.gameObject.SetActive(false);
     }
     //消费返利
     if (CostRebateLogic.IsRebateCanGet() ||
         CostRebateLogic.IsNeedClickToday())
     {
         m_CostRebateTips.gameObject.SetActive(true);
     }
     else
     {
         m_CostRebateTips.gameObject.SetActive(false);
     }
     //特殊时间
     if (SpecialTimePayRebateLogic.IsRebateCanGet() ||
         SpecialTimePayRebateLogic.IsNeedClickToday())
     {
         m_SpecialTimePayRebateTips.gameObject.SetActive(true);
     }
     else
     {
         m_SpecialTimePayRebateTips.gameObject.SetActive(false);
     }
     //日卡
     if (ChargeActivityLogic_MT.IsNeedClickToday())
     {
         m_DayCardTips.gameObject.SetActive(true);
     }
     else
     {
         m_DayCardTips.gameObject.SetActive(false);
     }
 }