mirror of
https://github.com/DerTyp7/harvestdale-unity.git
synced 2025-10-29 12:52:07 +01:00
17 lines
348 B
C#
17 lines
348 B
C#
using UnityEngine;
|
|
public class Field : MonoBehaviour
|
|
{
|
|
public Crop crop;
|
|
public int daysSincePlanted;
|
|
public bool isWatered;
|
|
|
|
private void Start()
|
|
{
|
|
TimeManager.OnMinuteChanged += logTime;
|
|
TimeManager.OnHourChanged += logTime;
|
|
}
|
|
public void logTime()
|
|
{
|
|
Debug.Log($"{TimeManager.Hour:00}:{TimeManager.Minute:00}");
|
|
}
|
|
} |