15 lines
259 B
C#
15 lines
259 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class DayManager : MonoBehaviour
|
|
{
|
|
public string toDay;
|
|
public Text day;
|
|
|
|
void Start()
|
|
{
|
|
toDay = System.DateTime.Now.ToString("yyyy-MM-dd");
|
|
day.text = toDay.ToString();
|
|
}
|
|
}
|