Class CachedAssetState
The Cached Asset State of an Addressable Asset.
Namespace: UnityEditor.AddressableAssets.Build
Syntax
[Serializable]
public class CachedAssetState : IEquatable<CachedAssetState>
Fields
asset
The Asset State.
Declaration
public AssetState asset
Field Value
Type | Description |
---|---|
AssetState |
bundleFileId
The name of the cached asset states bundle file.
Declaration
public string bundleFileId
Field Value
Type | Description |
---|---|
String |
data
The cached asset state data.
Declaration
public object data
Field Value
Type | Description |
---|---|
Object |
dependencies
The Asset State of all dependencies.
Declaration
public AssetState[] dependencies
Field Value
Type | Description |
---|---|
AssetState[] |
groupGuid
The guid for the group the cached asset state belongs to.
Declaration
public string groupGuid
Field Value
Type | Description |
---|---|
String |
Methods
Equals(CachedAssetState)
Checks if one cached asset state is equal to another given the asset state and dependency state.
Declaration
public bool Equals(CachedAssetState other)
Parameters
Type | Name | Description |
---|---|---|
CachedAssetState | other | Right hand side of comparision. |
Returns
Type | Description |
---|---|
Boolean | Returns true if the cached asset states are equal to one another. |