test/ui/GameInfoPanel.razor
@using Sandbox;
@using Sandbox.UI;
@inherits Panel
@namespace Sandbox

<root>
	@if ( !Player.FindLocalPlayer().IsValid() ) return;
	<div class="timer">
		<label>@(string.Format("{0:00}:{1:00}", (int)(GameManager.Instance?.Timer ?? 0) / 60, (int)(GameManager.Instance?.Timer ?? 0) % 60))</label>
	</div>
	<div class="kills">
		<label>KILLS: @(GameManager.Instance?.Kills ?? 0)</label>
	</div>
</root>

@code
{
	protected override int BuildHash() => System.HashCode.Combine( Time.Now.CeilToInt(), GameManager.Instance?.Kills );
}