using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using TMPro;
|
|
using Variables;
|
|
|
|
public class TimerController : MonoBehaviour
|
|
{
|
|
|
|
[SerializeField]
|
|
private Reference<float> m_time;
|
|
|
|
private Color m_defaultColor;
|
|
|
|
|
|
private void OnEnable()
|
|
{
|
|
m_time.OnValueChanged += OnTimeChange;
|
|
}
|
|
|
|
private void OnDisable()
|
|
{
|
|
m_time.OnValueChanged -= OnTimeChange;
|
|
}
|
|
|
|
private void OnTimeChange(float value)
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|