Method OnStartRunning
OnStartRunning()
Runs just before the system's first update after it is enabled.
Declaration
protected override void OnStartRunning()
Overrides
Remarks
Ensure that the final elapsedTime of the very first OnUpdate call is the original Time.ElapsedTime value (usually zero) without a deltaTime applied. Effectively, this code preemptively counteracts the first OnUpdate call.