mirror of
https://github.com/DerTyp7/example-top-down-unity.git
synced 2025-11-01 21:52:30 +01:00
i
This commit is contained in:
@@ -12,10 +12,11 @@ public class TimeUI : MonoBehaviour
|
||||
private void Start()
|
||||
{
|
||||
timeManager = GameObject.Find("GameManager").GetComponent<TimeManager>();
|
||||
TimeManager.OnTimeInterval += OnInterval;
|
||||
|
||||
}
|
||||
|
||||
private void Update()
|
||||
void OnInterval()
|
||||
{
|
||||
DateTime dateTime = timeManager.GetDateTime();
|
||||
if (dateTimeText != null)
|
||||
|
||||
Reference in New Issue
Block a user