public void ResetVariables(UnitAnimStatus animStat) { m_unitAnim.SetAnimation(animStat); m_unitAnim.SetOriginalSpeed(); m_standingNum = 0; m_perfectSpeed = 0; m_uiSkillCheckSystem.SetActiveUIZones(true, false); }
public void SetAnimation(UnitAnimStatus animName) { m_unitAnimStat = animName; m_anim.Play("Stickman" + animName.ToString()); }
public void SetAnimation(string animName) { m_unitAnimStat = (UnitAnimStatus)System.Enum.Parse(typeof(UnitAnimStatus), animName); m_anim.Play("Stickman" + animName); }