public void endDay() { currentDay++; if (Settings.dailyReportToggle.isOn) { if (currentDay >= Config.numDays) { Debug.Log("No more days"); endDayReport.Show(); } else { dailyReport.Show(); } } else { incrementDay(); } if (currentDay < Config.numDays) { Debug.Log("Next Day: " + currentDay); } }
private void Button_DailyReport_Click(object sender, RoutedEventArgs e) { DailyReport daily = new DailyReport(); daily.Show(); }