Struct RemoteContentId
Identifier of a remote content resource. This is used to find the RemoteContentLocation of a resource.
Namespace: Unity.Entities.Content
Assembly: Unity.Entities.dll
Syntax
[Serializable]
public struct RemoteContentId
Constructors
| Name | Description |
|---|---|
| RemoteContentId(in FixedString512Bytes) | Construct an id with only the path. The Hash is computed from the name. |
| RemoteContentId(in FixedString512Bytes, Hash128) | Construct an id with a name and custom hash. |
Fields
| Name | Description |
|---|---|
| Name | The name of the content. This is ususally set to the path of the asset. |
Properties
| Name | Description |
|---|---|
| Hash | The hash, used to compare ids. This is either set as the has of the name or to a custom hash. |
| IsValid | True if the id is valid. |
Methods
| Name | Description |
|---|---|
| Equals(RemoteContentId) | |
| GetHashCode() | Gets the path to the hash code. |
| ToString() | Convert this id to a string. |