Table of Contents

Namespace Ceres.Resource

Classes

AssetReferenceConstraintAttribute
InvalidResourceRequestException

Exception thrown when request resource address is invalid

ResourceCache<TAsset>

Loading and cache specific asset as a group and release them by control version

ResourceSystem

Resource system that loads resource by address and label based on Addressables.

SoftAssetReference

A lightweight asset reference only use address as identifier

SoftAssetReferenceBase
SoftAssetReference<T>

A lightweight asset reference only use address as identifier

Structs

ResourceHandle

Handle for streaming resource. A lightweight encapsulation of UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle.

ResourceHandle<T>

Handle for streaming resource. A lightweight replacement of UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle<TObject>.

Enums

ResourceSystem.MergeMode

Options for merging the results of requests. If keys (A, B) mapped to results ([1,2,4],[3,4,5])...

  • UseFirst (or None) takes the results from the first key -- [1,2,4]
  • Union takes results of each key and collects items that matched any key. -- [1,2,3,4,5]
  • Intersection takes results of each key, and collects items that matched every key. -- [4]