Skip to content

Behavior.ResetStart() Method

Definition

Namespace: Brine2D.ECS

Clears the start-failed state so that OnStart() will be retried on the next tick. Use this to recover from a transient initialization failure \(e\.g\., a required service that was not ready on the first frame\).

C#
public void ResetStart();

Remarks

OnStart() will run again exactly once on the next tick. If it throws again, StartFailed will be set to true again.