AsyncInstantiateOperation.IsWaitingForSceneActivation

Declaration

public bool IsWaitingForSceneActivation();

Returns

bool True if the operation is waits for user to allow the scene activation.

Description

This property can be true only if allowSceneActivation is set to false, and if the operation has already completed everything needed for object instantiation except for the main thread integrating the objects and calling their Awake methods. Users can set allowSceneActivation to true to trigger the activation or call the Cancel method to cancel instantiation.


Did you find this page useful? Please give it a rating: