Example #1
0
 public void NextDay()
 {
     if (Day + 1 >= MaxDay)
     {
         GameOver();
         return;
     }
     // 刷新每日数据
     RefleshDay(Day + 1);
     RefleshMoney(MoneyHave);
     puzzleBoard.LoadPuzzle(Day * 4);
     DialogueSys.SetActive(true);
     DialogueManager.instance.StartDialogue((Day + 1).ToString() + ".xlsx");
     LoadPatient(Day);
     NextDayButtom.SetActive(false);
     ClearUP.gameObject.SetActive(false);
     //MoneyNRentUI.SetActive(true);
     RefleshRent(int.Parse(Data[Day][1]));
     MedicinesCost = new int[20];
 }