Esempio n. 1
0
    void OnMsgBuyRingOfHonorCardSucc_S2C(int cardId)
    {
        Debug.Log("OnMsgBuyRingOfHonorCardSucc_S2C");
        string cardName = GameTable.HeroInfoTableAsset.Lookup(cardId).StrName;

        //获得卡牌特效
        UIGetCard.GetInstance().SetName(cardName);
        UIGetCard.GetInstance().ShowWindow();
        ShopProp.Singleton.OnUpdateRingOfHonorShop();
    }
Esempio n. 2
0
    static public UIGetCard GetInstance()
	{
        UIGetCard self = UIManager.Singleton.GetUIWithoutLoad<UIGetCard>();
		if (self != null)
		{
			return self;
		}
        self = UIManager.Singleton.LoadUI<UIGetCard>("UI/UIGetCard", UIManager.Anchor.Center);
		return self;
	}