Class AnimationStateHashes
This class just holds a cached value for character animation states. By creating a cached of character animation states once we can prevent any garbage allocations down the line.
Inheritance
System.Object
AnimationStateHashes
Namespace: SF.Characters
Assembly: cs.temp.dll.dll
Syntax
public static class AnimationStateHashes
Fields
IdleAnimationHash
Declaration
public static readonly int IdleAnimationHash
Field Value
Type | Description |
---|---|
System.Int32 |
WalkingAnimationHash
Declaration
public static readonly int WalkingAnimationHash
Field Value
Type | Description |
---|---|
System.Int32 |