C# Programming Workflow
Write your gameplay logic in C# with type safety. You get direct access to the modern .NET execution runtime, multithreading optimizations, and high-level libraries.
public class BasePlayer : EntityComponent
{
public float Speed { get; set; } = 5.0f;
public override void OnUpdate(float deltaTime)
{
Vector3 input = GameInput.GetMovementVector();
Transform.Translate(input * Speed * deltaTime);
}
}