Exemplo n.º 1
0
    public void OnBtnAddClick()
    {
        //if (PlayerDataPack.IsMoney(_ShowOwnCurrency))
        //{
        //    PlayerDataPack.Instance.AddMoney(_ShowOwnCurrency, 1000);
        //}

        UIMoneyLackTip.ShowAsyn(_ShowOwnCurrency);
    }
Exemplo n.º 2
0
    public void OnBtnAddClick()
    {
        //if (PlayerDataPack.IsMoney(_ShowOwnCurrency))
        //{
        //    PlayerDataPack.Instance.AddMoney(_ShowOwnCurrency, 1000);
        //}

        if (_ShowOwnCurrency.Equals(PlayerDataPack.MoneyDiamond))
        {
            UIRechargePack.ShowAsyn();
        }
        else
        {
            UIMoneyLackTip.ShowAsyn(_ShowOwnCurrency);
        }
    }