Пример #1
0
 void FoodEaten(FoodObject food)
 {
     food.Eaten();
     Destroy(food.gameObject);
 }