onFixedUpdate method

  1. @mustCallSuper
  2. @protected
void onFixedUpdate()

Called every fixed step (Time.fixedDelta, 50 a second by default) while the object is shown, parents before children, before the frame's onUpdate: for what must not depend on the frame rate, such as forces on a rigidbody. A frame runs as many steps as its time holds, maybe none; inside one, time.delta is Time.fixedDelta.

Implementation

@mustCallSuper
@protected
void onFixedUpdate() {}