Exemple #1
0
 protected bool CheckEventIsValid(AnimationEvent e)
 {
     return(this.m_animator.GetCurrentAnimatorStateInfo(0).Equals(e.get_animatorStateInfo()) && !this.m_animator.IsInTransition(0));
 }