Combat/TransientEffect.cs
namespace Prototype;

public sealed class TransientEffect : Component
{
	public float Lifetime { get; set; } = .1f;
	protected override void OnUpdate()
	{
		Lifetime -= Time.Delta;
		if ( Lifetime <= 0f ) DestroyGameObject();
	}
}