r2mods/ilspy_dump/ror2_csproj/RoR2.UI/RunTimerSpriteAsNumberManag...

17 lines
327 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine;
namespace RoR2.UI;
public class RunTimerSpriteAsNumberManager : MonoBehaviour
{
public SpriteAsNumberManager spriteAsNumberManager;
private void Update()
{
if ((bool)spriteAsNumberManager)
{
spriteAsNumberManager.SetTimerValue(Run.instance ? ((int)Run.instance.GetRunStopwatch()) : 0);
}
}
}