Files
HauntedBloodlines/Assets/Scripts/Managers/AccessManagers/AccessClockController.cs
2025-05-29 22:31:40 +03:00

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);
}
}