private IEnumerator loadSchedule(DailyChallengeScheduleDefinition schedule)
 {
     for (int i = 0; i < schedule.Assets.Length; i++)
     {
         DailyChallengeDefinitionContentKey daily = schedule.Assets[i];
         yield return(loadScheduleDaily(daily.Key));
     }
 }
 private IEnumerator reloadChallenges(DateTime day)
 {
     loadedDailies.Clear();
     if (day != default(DateTime))
     {
         DailyChallengeScheduleDefinition dailies = datedManifestMap.Map[day] as DailyChallengeScheduleDefinition;
         yield return(loadSchedule(dailies));
     }
     else
     {
         Log.LogError(this, "No Daily Tasks scheduled for today");
     }
     setupTasks();
 }