Exemple #1
0
 private void SetOptionalAnimParameter(int Hash, int value)
 {
     if (animatorParams.ContainsKey(Hash))
     {
         SetIntParameter?.Invoke(Hash, value);
     }
 }
Exemple #2
0
 /// <summary> Set the Parameter Int ID to a value and pass it also to the Animator </summary>
 public void SetModeStatus(int value) => SetIntParameter?.Invoke(hash_ModeStatus, ModeInt     = value);