Version: 2023.1
言語: 日本語
public Unity.Loading.ContentFileUnloadHandle UnloadAsync ();

戻り値

ContentFileUnloadHandle A handle that can be used to track the status of the unload operation.

説明

Begin an asynchronous unload of the ContentFile.

If you call this while a load is in progress, it will attempt to cancel the loading process.

This must be called in order to release resources, even when the ContentFile load operation was not successful.

An exception will be thrown if this ContentFile is being used as a dependency by another ContentFile. In this case, the other file must be unloaded first.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961