public void SetAnim(string cmd) { m_Animator.ResetTrigger(m_Curr_Anim_Trigger.ToString()); m_Curr_Anim_Trigger = mSarahCommandTrigDict[cmd]; SetAnimation(); }
public void SetAnim(Sarah_Animation_Triggers cmd) { m_Animator.ResetTrigger(m_Curr_Anim_Trigger.ToString()); m_Curr_Anim_Trigger = cmd; SetAnimation(); }
private float GetCurrentAnimDuration(Sarah_Animation_Triggers anim_trigger) { return(mAnimDurations[anim_trigger]); }