bool FoodIsOut() { FoodTimeManager fm = Food.GetComponent <FoodTimeManager>(); if (fm.foodOut) { return(true); } else { return(false); } }