using Sandbox;
public sealed class TimerTester : Component
{
public ActionTimer timer;
protected override void OnAwake()
{
base.OnAwake();
timer = GetComponent<ActionTimer>();
timer.OnTimerElapsed += PrintTimer;
}
public void PrintTimer()
{
Log.Info(timer.PrintTimerID() + " has elapsed");
}
}