跳到主要内容
版本:3.0.x

Class AllAssetsHandle

全资源句柄,用于加载资源包内所有资源对象。

Assembly: YooAsset.dll
View Source
Declaration
public sealed class AllAssetsHandle : HandleBase, IEnumerator, IDisposable

Properties

AllAssetObjects

所有资源对象集合

View Source
Declaration
public IReadOnlyList<Object> AllAssetObjects { get; }

Methods

WaitForAsyncComplete()

等待异步执行完毕

View Source
Declaration
public void WaitForAsyncComplete()

Events

Completed

当加载完成时触发

View Source
Declaration
public event Action<AllAssetsHandle> Completed
Event Type

System.Action<YooAsset.AllAssetsHandle>

Implements

  • System.Collections.IEnumerator
  • System.IDisposable