CombineHash(StringHash, StringHash)
Combines two string hashes into one hash.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public static StringHash CombineHash(StringHash a, StringHash b)
Parameters
The first hash to combine. The order of the arguments matters.
The second hash to combine. The order of the arguments matters.
Returns
Type | Description |
|---|---|
| StringHash | A new hash that depends on both input hashes and on their order. |
Remarks
Use this method to build the hash of an animated property from the hash of its transform path and the hash of its property name, as FloatChannel does. The result depends on the order of the arguments: and usually differ.
CombineHash(a, b)CombineHash(b, a)