C# SCRIPTING
Write gameplay logic in C# with full type safety. Direct access to .NET runtime, multithreading, and high-level libraries via hot-reloaded assemblies.
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);
}
}