Beispiel #1
0
    public void SetMoneyAmount()
    {
        CurrencyManager inst = CurrencyManager.Instance;

        if (inst == null)
        {
            Debug.Log("What's going on?");
            return;
        }

        int money = inst.GetCurrencyAmount();

        moneyAmount.text = money.ToString();
    }