public static bool IsGrowUpCanGet()
    {
        PayActivityData payData = GameManager.gameManager.PlayerDataPool.PayActivity;

        if (Singleton <ObjManager> .GetInstance().MainPlayer == null)
        {
            return(false);
        }
        int playerLevel = Singleton <ObjManager> .GetInstance().MainPlayer.BaseAttr.Level;

        if (payData.IsGrowUpFlag() == true)
        {
            //40级按钮
            if (payData.IsGrowUp40Flag() == false)
            {
                if (playerLevel >= 40)
                {
                    return(true);
                }
            }
            //50级按钮
            if (payData.IsGrowUp50Flag() == false)
            {
                if (playerLevel >= 50)
                {
                    return(true);
                }
            }
            //60级按钮
            if (payData.IsGrowUp60Flag() == false)
            {
                if (playerLevel >= 60)
                {
                    return(true);
                }
            }
            //70级按钮
            if (payData.IsGrowUp70Flag() == false)
            {
                if (playerLevel >= 70)
                {
                    return(true);
                }
            }
            //80级按钮
            if (payData.IsGrowUp80Flag() == false)
            {
                if (playerLevel >= 80)
                {
                    return(true);
                }
            }
            //90级按钮
            if (payData.IsGrowUp90Flag() == false)
            {
                if (playerLevel >= 90)
                {
                    return(true);
                }
            }
        }
        return(false);
    }
    void InitPrizeButton()
    {
        PayActivityData payData     = GameManager.gameManager.PlayerDataPool.PayActivity;
        int             playerLevel = Singleton <ObjManager> .GetInstance().MainPlayer.BaseAttr.Level;

        //40级按钮
        if (payData.IsGrowUp40Flag() == false)
        {
            if (playerLevel >= 40)
            {
                m_GetPrize40.isEnabled = true;
                m_PrizeLabel40.text    = StrDictionary.GetClientDictionaryString("#{1378}"); //领取
            }
            else
            {
                m_GetPrize40.isEnabled = false;
                m_PrizeLabel40.text    = StrDictionary.GetClientDictionaryString("#{1379}"); //未领取
            }
        }
        else
        {
            m_GetPrize40.isEnabled = false;
            m_PrizeLabel40.text    = StrDictionary.GetClientDictionaryString("#{1380}"); //已领取
        }
        //50级按钮
        if (payData.IsGrowUp50Flag() == false)
        {
            if (playerLevel >= 50)
            {
                m_GetPrize50.isEnabled = true;
                m_PrizeLabel50.text    = StrDictionary.GetClientDictionaryString("#{1378}"); //领取
            }
            else
            {
                m_GetPrize50.isEnabled = false;
                m_PrizeLabel50.text    = StrDictionary.GetClientDictionaryString("#{1379}"); //未领取
            }
        }
        else
        {
            m_GetPrize50.isEnabled = false;
            m_PrizeLabel50.text    = StrDictionary.GetClientDictionaryString("#{1380}"); //已领取
        }
        //60级按钮
        if (payData.IsGrowUp60Flag() == false)
        {
            if (playerLevel >= 60)
            {
                m_GetPrize60.isEnabled = true;
                m_PrizeLabel60.text    = StrDictionary.GetClientDictionaryString("#{1378}"); //领取
            }
            else
            {
                m_GetPrize60.isEnabled = false;
                m_PrizeLabel60.text    = StrDictionary.GetClientDictionaryString("#{1379}"); //未领取
            }
        }
        else
        {
            m_GetPrize60.isEnabled = false;
            m_PrizeLabel60.text    = StrDictionary.GetClientDictionaryString("#{1380}"); //已领取
        }
        //70级按钮
        if (payData.IsGrowUp70Flag() == false)
        {
            if (playerLevel >= 70)
            {
                m_GetPrize70.isEnabled = true;
                m_PrizeLabel70.text    = StrDictionary.GetClientDictionaryString("#{1378}"); //领取
            }
            else
            {
                m_GetPrize70.isEnabled = false;
                m_PrizeLabel70.text    = StrDictionary.GetClientDictionaryString("#{1379}"); //未领取
            }
        }
        else
        {
            m_GetPrize70.isEnabled = false;
            m_PrizeLabel70.text    = StrDictionary.GetClientDictionaryString("#{1380}"); //已领取
        }
        //80级按钮
        if (payData.IsGrowUp80Flag() == false)
        {
            if (playerLevel >= 80)
            {
                m_GetPrize80.isEnabled = true;
                m_PrizeLabel80.text    = StrDictionary.GetClientDictionaryString("#{1378}"); //领取
            }
            else
            {
                m_GetPrize80.isEnabled = false;
                m_PrizeLabel80.text    = StrDictionary.GetClientDictionaryString("#{1379}"); //未领取
            }
        }
        else
        {
            m_GetPrize80.isEnabled = false;
            m_PrizeLabel80.text    = StrDictionary.GetClientDictionaryString("#{1380}"); //已领取
        }
        //90级按钮
        if (payData.IsGrowUp90Flag() == false)
        {
            if (playerLevel >= 90)
            {
                m_GetPrize90.isEnabled = true;
                m_PrizeLabel90.text    = StrDictionary.GetClientDictionaryString("#{1378}"); //领取
            }
            else
            {
                m_GetPrize90.isEnabled = false;
                m_PrizeLabel90.text    = StrDictionary.GetClientDictionaryString("#{1379}"); //未领取
            }
        }
        else
        {
            m_GetPrize90.isEnabled = false;
            m_PrizeLabel90.text    = StrDictionary.GetClientDictionaryString("#{1380}"); //已领取
        }
    }