Struct UnityAssetPrefetcherCacheInfo
Represents detailed information about a cached asset including its dependencies and metadata
Inherited Members
Namespace: Serenity.AssetPrefetcher.Infrastructure.Structs
Assembly: Serenity.UnityAssetPrefetcher.Infrastructure.dll
Syntax
public struct UnityAssetPrefetcherCacheInfo
Fields
Asset
Declaration
public Object Asset
Field Value
| Type | Description |
|---|---|
| Object | Unity object reference to the actual asset |
AssetPath
Declaration
public string AssetPath
Field Value
| Type | Description |
|---|---|
| string | File path to the asset in the project |
Dependencies
Declaration
public List<AssetPrefetcherDependencyInfo> Dependencies
Field Value
| Type | Description |
|---|---|
| List<AssetPrefetcherDependencyInfo> | List of dependent assets required by this main asset |
IsLoaded
Declaration
public bool IsLoaded
Field Value
| Type | Description |
|---|---|
| bool | Whether the asset is currently loaded in memory |
Key
Declaration
public string Key
Field Value
| Type | Description |
|---|---|
| string | Unique identifier key for the cached asset |
Name
Declaration
public string Name
Field Value
| Type | Description |
|---|---|
| string | Display name of the asset |
Refs
Declaration
public int Refs
Field Value
| Type | Description |
|---|---|
| int | Number of references to this asset |
Size
Declaration
public long Size
Field Value
| Type | Description |
|---|---|
| long | Size of the asset in bytes |
Type
Declaration
public string Type
Field Value
| Type | Description |
|---|---|
| string | Type name of the cached asset (e.g., "Texture2D", "AudioClip") |