Version: 1.1
LanguageEnglish
  • C#

ContentFileUnloadHandle

struct in Unity.Loading

/

Implemented in:UnityEngine.ContentLoadModule

Description

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

Properties

IsCompletedReturns true if the unload operation has completed.

Public Methods

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答