Exemplo n.º 1
0
 public void PlayAnimation(TagAnimations anim, bool overriding = false)
 {
     this.overriding = overriding;
     animator.Play(anim.AsString(), 0, 0);
 }
Exemplo n.º 2
0
 public static string AsString(this TagAnimations state)
 {
     return(states[(int)state]);
 }