Struct AssetState
The given state of an Asset. Represented by its guid and hash.
Namespace: UnityEditor.AddressableAssets.Build
Syntax
[Serializable]
public struct AssetState : IEquatable<AssetState>
Fields
guid
Asset states GUID.
Declaration
public GUID guid
Field Value
Type | Description |
---|---|
GUID |
hash
Asset State hash.
Declaration
public Hash128 hash
Field Value
Type | Description |
---|---|
Hash128 |
Methods
Equals(AssetState)
Check if one asset state is equal to another.
Declaration
public bool Equals(AssetState other)
Parameters
Type | Name | Description |
---|---|---|
AssetState | other | Right hand side of comparision. |
Returns
Type | Description |
---|---|
Boolean | Returns true if the Asset States are equal to one another. |