public void UseASelfCareItem(float gain) { if (m_effort.SpendEffort(gain)) { m_energy.Total += gain / 2; } }
public void Buy() { if (m_effort.SpendEffort(m_cost)) { m_activated = true; GetComponent <Button>().interactable = false; } }
public void UseASelfCareItem(float gain) { if (m_effort.SpendEffort(gain)) { m_energy.Total += gain / 2; } }
public void Buy() { if (m_effort.SpendEffort(m_cost)) { m_activated = true; GetComponent <Button>().interactable = false; } }