Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FixedUpdateAsync(CancellationToken)

Resumes execution on the next fixed update frame.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Awaitable FixedUpdateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken

Returns

Type

Description

Awaitable

Remarks

Note: This method can only be called from the main thread and always completes on main thread. Also, in the Editor, this Awaitable will only complete when the game is playing (it will never complete otherwise).