ECSOptions.OnFixedStepsDiscarded Property
Definition
Namespace: Brine2D.ECS
Optional callback invoked when the fixed-update accumulator is clamped because a frame took longer than MaxFixedStepsPerFrame × FixedTimeStepMs. The argument is the number of milliseconds of simulation time that were discarded.
Property Value
Remarks
Use this to route simulation stall events to telemetry or logging in release builds. The callback must not throw; any exception it raises is silently ignored.