StringToHash() private method

private StringToHash ( string name ) : int
name string
return int
Example #1
0
 public void Play(string stateName, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float normalizedTime)
 {
     this.Play(AnimatorControllerPlayable.StringToHash(stateName), layer, normalizedTime);
 }
Example #2
0
 public void CrossFadeInFixedTime(string stateName, float transitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("0.0f")] float fixedTime)
 {
     this.CrossFadeInFixedTime(AnimatorControllerPlayable.StringToHash(stateName), transitionDuration, layer, fixedTime);
 }
Example #3
0
 public void CrossFade(string stateName, float transitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float normalizedTime)
 {
     this.CrossFade(AnimatorControllerPlayable.StringToHash(stateName), transitionDuration, layer, normalizedTime);
 }
Example #4
0
 public void PlayInFixedTime(string stateName, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float fixedTime)
 {
     AnimatorControllerPlayable.PlayInFixedTimeInternal(ref this, AnimatorControllerPlayable.StringToHash(stateName), layer, fixedTime);
 }