public override TaskStatus OnUpdate()
        {
            if (Vector2.Distance(player.Pos, transform.position) < attackDistance.Value)
            {
//				Debug.Log("距离在攻击范围内,转到Attack");
                return(TaskStatus.Success);
            }

            self.LookAt(player.obj.transform);

            actor.PatrolOneDirInDistance(Mathf.Abs(player.Pos.x - transform.position.x),
                                         player.Pos.x > transform.position.x);

            return(TaskStatus.Running);
        }