文档

Unity Engine

Unity Engine

LoadAsync()

Loads the object asynchronously. Returns an awaitable that completes when loading is finished.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Loading
  • Assembly: UnityEngine.ContentLoadModule
public Awaitable<T> LoadAsync()

Returns

Type

Description

Awaitable<T>An awaitable that yields the loaded object, or null if loading failed.