Skip to content

EugeneKim/SimpleUnityCalendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Unity Calendar

This Unity project shows how to implement a simple calendar.

Build-in .NET APIs for Calendar implementation

The calendar can be easily implemented by using the following property and method from the DateTime struct.

The property is to determine the day of week. If the day of a month is set to 1 for a DateTime instance then the property will return the day of week for the 1st day of the month. (Please note that Sunday is the first day of the week from the property.)

The method is to determine how many days in the month.

Logic of implementation

The logic of the calendar is implemented in the Initialize method of BodyManager.cs So please refer to the source code.

Screenshot

Test Image 1

About

Unity project to show how to implement a simple calendar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors