Table of Contents

Class SingletonCache<TAsset>

Namespace
Ceres.Gameplay.Resource
Assembly
Ceres.Gameplay.dll

Singleton ResourceCache<TAsset> for sharing storage in GameWorld lifetime scope

public class SingletonCache<TAsset> : ResourceCache<TAsset>, IDisposable, IReadOnlyDictionary<string, TAsset>, IReadOnlyCollection<KeyValuePair<string, TAsset>>, IEnumerable<KeyValuePair<string, TAsset>>, IEnumerable where TAsset : Object

Type Parameters

TAsset
Inheritance
SingletonCache<TAsset>
Implements
Inherited Members

Properties

Instance

Get singleton cache for sharing storage in GameWorld lifetime scope

public static ResourceCache<TAsset> Instance { get; }

Property Value

ResourceCache<TAsset>

Methods

Dispose()

Implementation of IDisposable, release all handles in cache.

public override void Dispose()