mirror of
https://github.com/DerTyp7/grow-ai-unity.git
synced 2025-11-02 22:13:48 +01:00
added CameraMovement
This commit is contained in:
@@ -11,12 +11,12 @@ public class TimeUI : MonoBehaviour
|
||||
private void Start()
|
||||
{
|
||||
timeManager = GameObject.Find("GameManager").GetComponent<TimeManager>();
|
||||
TimeManager.OnTimeInterval += OnInterval;
|
||||
TimeManager.OnTimeUpdate += OnTimeUpdate;
|
||||
dateTimeText = GetComponent<TextMeshProUGUI>();
|
||||
|
||||
}
|
||||
|
||||
void OnInterval()
|
||||
void OnTimeUpdate()
|
||||
{
|
||||
DateTime dateTime = timeManager.GetDateTime();
|
||||
if (dateTimeText != null)
|
||||
|
||||
Reference in New Issue
Block a user