25 lines
870 B
C#
25 lines
870 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class AccessClockController : MonoBehaviour
|
|
{
|
|
/// <summary>
|
|
/// This gets called from the unityEvent/ Or another script (if needed) when the target hour needs to be changed in order for an action to occcur.
|
|
/// </summary>
|
|
/// <param name="targetHour"></param>
|
|
public void EnterTargetHour(int targetHour)
|
|
{
|
|
ClockController.GetInstance().EnterTargetHour(targetHour);
|
|
}
|
|
|
|
/// <summary>
|
|
/// This gets called from the unityEvent/ Or another script (if needed) when the target minutes needs to be changed in order for an action to occcur.
|
|
/// </summary>
|
|
/// <param name="targetMinutes"></param>
|
|
public void EnterTargetMinutes(float targetMinutes)
|
|
{
|
|
ClockController.GetInstance().EnterTargetMinutes(targetMinutes);
|
|
}
|
|
}
|