StringToHash() private method

private StringToHash ( string name ) : int
name string
return int
Beispiel #1
0
 public void Play(string stateName, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float normalizedTime)
 {
     this.Play(AnimatorControllerPlayable.StringToHash(stateName), layer, normalizedTime);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #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);
 }