Пример #1
0
        void consumeFood(Interaction.Food foodItem)
        {
            //TODO support for different levels of food quality

            //TODO GUI for stats

            StartCoroutine(size.increase(1));

            Destroy(foodItem.gameObject);
        }
Пример #2
0
        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);
        }