void consumeFood(Interaction.Food foodItem) { //TODO support for different levels of food quality //TODO GUI for stats StartCoroutine(size.increase(1)); Destroy(foodItem.gameObject); }
void consumeFood(Interaction.Food foodItem) { //TODO support for different levels of food quality //TODO GUI for stats SoundManager.Instance().PlayAnySFX(SoundManager.SFXv2.Food); StartCoroutine(size.increase(1 + .5f * InventoryPersist.getFeederLevel())); Destroy(foodItem.gameObject); }