DayController implemented
This commit is contained in:
parent
57d3906a4d
commit
12ff6e0390
2 changed files with 4 additions and 2 deletions
|
|
@ -7,6 +7,8 @@ using UnityEngine.Events;
|
|||
public class DayController : MonoBehaviour {
|
||||
private int dayCount = 0;
|
||||
private static UnityEvent newDayEvent;
|
||||
public static UnityEvent NewDayEvent => newDayEvent;
|
||||
|
||||
|
||||
private void OnMouseDown() {
|
||||
newDay();
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.Rider.Editor:Packages.Rider.Editor:RiderScriptEditorPersistedState
|
||||
lastWriteTicks: -8585497851335773342
|
||||
lastWriteTicks: -8585494769450265822
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue