private void changeStance(stance stance) { if (stance == stance.standing) { moveSpeed = 1; anim.SetBool("Sneaking", true); currentStance = stance.prone; } else { moveSpeed = 2; anim.SetBool("Sneaking", false); currentStance = stance.standing; } }
public void setStance(stance passedIn) { enemyStance = passedIn; }