SoundBoardBootstrap.cs

A small engine Component that calls SoundBoardManager.Tick() each update. It keeps the soundboard system ticking by invoking the manager from the game update loop.

namespace SSoundboard;

/// <summary>
/// Keeps the soundboard logic ticking.
/// </summary>
public sealed class SoundBoardBootstrap : Component
{
	protected override void OnUpdate()
	{
		SoundBoardManager.Tick();
	}
}