Beispiel #1
0
    /// <summary>
    /// 更新财富显示
    /// </summary>
    public static void WealthUpdate()
    {
        UIHallManager uIHallManager = MessageManager.GetInstance.GetUIDict <UIHallManager>();

        if (uIHallManager != null)
        {
            uIHallManager.UpdateUI();
        }
        //UIVipPanel uiVipMsg = MessageManager.GetInstance.GetUIDict<UIVipPanel>();
        //如果是在vip特权这个界面,就立即更新vip经验值
        //if (uiVipMsg != null)
        //{
        //    if (uiVipMsg.gameObject.activeSelf)
        //    {
        //        uiVipMsg.UpdateUI();
        //    }
        //}
        UIZJHPanel uIZJHPanel = MessageManager.GetInstance.GetUIDict <UIZJHPanel>();

        if (uIZJHPanel == null)
        {
            uIZJHPanel = MessageManager.GetInstance.GetUIDict <CheatZjhPanel>();
        }
        if (uIZJHPanel != null)
        {
            uIZJHPanel.UpdateSelfUIInfo();
        }
        UIWanRenChang uIWanRenChang = MessageManager.GetInstance.GetUIDict <UIWanRenChang>();

        if (uIWanRenChang != null)
        {
            uIWanRenChang.MiddleWeath();
        }
        UIDicePlane uIDicePlane = MessageManager.GetInstance.GetUIDict <UIDicePlane>();

        if (uIDicePlane != null)
        {
            uIDicePlane.MiddleWeath();
        }

        UIShopPanel shopuiMessage = MessageManager.GetInstance.GetUIDict <UIShopPanel>();

        if (shopuiMessage != null)
        {
            if (shopuiMessage.gameObject.activeSelf)
            {
                shopuiMessage.UpdateUIData();
            }
        }
    }
Beispiel #2
0
 private void Awake() => Singletone = this;
Beispiel #3
0
 public UIShopPanel()
 {
     instance = this;
 }