void PathFinding() { // anim.action.Play(anim.runName); if (motor.PathFinding() == false) { currState = State.Attack; } }