public void EndDay(float delayTime) { dayEnded = true; totalAliveCustomers += aliveCustomers; totalDeadCustomers += deadCustomers; if (currentDay >= totalDays) { EndGame(delayTime); return; } StarRating rating = ratingCalculator.GetStarRating(aliveCustomers, customersPerDay); dayUI.EndDay(currentDay, descriptionLibrary.GetEndOfDayDescription(rating), 100, aliveCustomers, deadCustomers); StartCoroutine(ActivateStarRating(rating, delayTime)); }