private void Start() { thirstController = ThirstController.instance; maxValue = thirstController.maxThirst; value = (int)thirstController.thirst; }
private void Drink() { string info = "You drunk a bottle of water. (+" + pointsOnDrink + ")"; ScrollingInfoController.instance.AddText(info, isItem: false); thirstController = ThirstController.instance; thirstController.thirst += pointsOnDrink; }