Scripting API

AsyncOperation

class in UnityEngine · UnityEngine.CoreModule · inherits from YieldInstruction

6 of 7 of Unity's membersUnity's documentation
In Tassix

An operation finishing over frames (scene loads and unloads). Yield it from a coroutine to wait for it; completed handlers run when it finishes, or at once when added after.

Constructors 1

AsyncOperation()

An operation that is already complete.

Properties 4

bool allowSceneActivation { get; set; }

Scene loads wait at 0.9 progress while this is false.

bool isDone { get; }
int priority { get; set; }
float progress { get; }

Events 1

event Action<AsyncOperation>? completed

Not in Tassix yet 1

Finalize