19 lines
409 B
C#
19 lines
409 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class GamePlayingClockUI : MonoBehaviour
|
|
{
|
|
|
|
[SerializeField] private Image timerImage;
|
|
|
|
private void Update()
|
|
{
|
|
if (GameStateManager.Instace.IsGamePlaying())
|
|
{
|
|
timerImage.fillAmount = GameStateManager.Instace.GetGamePlayingTimerNomalized();
|
|
}
|
|
}
|
|
|
|
}
|