Skip to content

Wenrong274/Unity-Calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity-Calendar

gif

使用方式

預設日期為當天日期

可以直接使用 UnityCalendar.GetDate() 取得使用者設定日期,假如有錯誤會回報錯誤。

testGetDate.cs

public void OnClick_GetDate()
{
DateTime dt = unityCalendar.GetDate();
text.text = dt.ToString("yyyy-MM-dd");
}

public void OnClick_Clear()
{
text.text = string.Empty;
unityCalendar.Init();
}

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages