Version: 2022.3
언어: 한국어

ContentSceneFile.WaitForLoadCompletion

매뉴얼로 전환
public bool WaitForLoadCompletion (int timeoutMs);

파라미터

timeoutMs The maximum time in milliseconds this function will wait before returning. Pass 0 to block indefinitely until completion.

반환

bool Returns false if the timeout was reached before ContentFile completed loading.

설명

Blocks on the main thread until the load operation completes. This function can be slow and so should be used carefully to avoid frame rate stuttering.