::Based on the reference information, the line you’re asking about is:
entries[entryIndex].Display(seasonsTime.day, seasonsTime.GetDayOfTheWeek(), charactersBirthday.portrait, charactersBirthday.name +"'s birthday");
The full line includes:
- seasonsTime.day
- seasonsTime.GetDayOfTheWeek()
- charactersBirthday.portrait
- charactersBirthday.name + “‘s birthday” (as the event description)
This matches the Display() function call with the parameters for a birthday event. If no birthday is found, it falls back to a simpler Display() call without the portrait and event description.
For the Calendar Header, it should be assigned a TextMeshProUGUI component that will display the year and season (e.g., “Year 1 Spring”).
The entries should be placed in order from 1 to 42, representing the calendar grid cells.