Exemplo n.º 1
0
 public void UpdateCurTab()
 {
     if (ChargeActivityLogic_SC.Instance())
     {
         ChargeActivityLogic_SC.Instance().InitPrize();
     }
     if (ChargeActivityLogic_SY.Instance())
     {
         ChargeActivityLogic_SY.Instance().InitPrize();
     }
     if (ChargeActivityLogic_CZ.Instance())
     {
         ChargeActivityLogic_CZ.Instance().InitPage();
     }
     if (ChargeActivityLogic_XY.Instance())
     {
         ChargeActivityLogic_XY.Instance().InitData();
     }
     if (CostRebateLogic.Instance())
     {
         CostRebateLogic.Instance().InitData();
     }
     if (SpecialTimePayRebateLogic.Instance())
     {
         SpecialTimePayRebateLogic.Instance().InitData();
     }
     if (ChargeActivityLogic_MT.Instance())
     {
         ChargeActivityLogic_MT.Instance().InitPrize();
     }
 }
Exemplo n.º 2
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);
     }
 }
Exemplo n.º 3
0
 void Awake()
 {
     m_Instance = this;
 }
Exemplo n.º 4
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);
     }
 }