Ejemplo n.º 1
0
    void UpdateEther()
    {
        // a character was healed
        etherActive = false;
        potionInstance.EtherUsed();
        etherAmount--;
        etherAmountText.text = etherAmount.ToString();

        if (etherAmount <= 0)
        {
            etherButton.GetComponentInChildren <Text>().text = "BUY ETHERS";
        }
    }