Version: 2022.2

ContentFileUnloadHandle

struct in Unity.Loading

切换到手册

描述

A handle that can be used to track the progress of an unload operation. This is returned from ContentFile.UnloadAsync.

变量

IsCompletedReturns true if the unload operation has completed.

公共函数

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