예제 #1
0
 public void Cook()
 {
     //烹飪一道食物
     Food newFood = new Food();
     if (CookingSlots.Count < MaxCookingSlots)
     {
         // 還有烹飪的空位
         Debug.Log ("Start new cook");
         CookingSlots.Add(newFood);
         newFood.StartTimer();
         RefreshInfoText();
     }
 }