Operator implicit operator
implicit operator Hash128(GUID)
Implicitly convert a UnityEditor.GUID to a Hash128.
Declaration
public static implicit operator Hash128(GUID guid)
Parameters
Type | Name | Description |
---|---|---|
GUID | guid | The UnityEditor.GUID to convert. |
Returns
Type | Description |
---|---|
Hash128 | The corresponding Hash128. |
implicit operator GUID(Hash128)
Implicitly convert a Hash128 to a UnityEditor.GUID.
Declaration
public static implicit operator GUID(Hash128 guid)
Parameters
Type | Name | Description |
---|---|---|
Hash128 | guid | The Hash128 to convert. |
Returns
Type | Description |
---|---|
GUID | The corresponding UnityEditor.GUID. |
implicit operator Hash128(Hash128)
Implicitly convert a UnityEngine.Hash128 to a Hash128.
Declaration
public static implicit operator Hash128(Hash128 guid)
Parameters
Type | Name | Description |
---|---|---|
Hash128 | guid | The UnityEngine.Hash128 to convert. |
Returns
Type | Description |
---|---|
Hash128 | The corresponding Hash128. |
implicit operator Hash128(Hash128)
Implicitly convert a Hash128 to a UnityEngine.Hash128.
Declaration
public static implicit operator Hash128(Hash128 guid)
Parameters
Type | Name | Description |
---|---|---|
Hash128 | guid | The Hash128 to convert. |
Returns
Type | Description |
---|---|
Hash128 | The corresponding UnityEngine.Hash128. |