MyComponent.cs

A simple component type for the game. It declares a string property exposed to the editor via [Property] and overrides OnUpdate with an empty implementation.


public sealed class MyComponent : Component
{
	[Property] public string StringProperty { get; set; }

	protected override void OnUpdate()
	{
	}
}