public bool MoveTo(List <MapPos> _mapPos, GridPathfinding.UnitMovementCallbackType _callbackType, object _obj, PathCallback callback)
 {
     lastMoveTo   = new LastMoveTo(_mapPos, _callbackType, _obj, callback);
     callbackType = _callbackType;
     obj          = _obj;
     pathCallback = callback;
     curX         = mapPos.x;
     curY         = mapPos.y;
     return(false);
 }
        public bool MoveTo(MapPos _mapPos, GridPathfinding.UnitMovementCallbackType _callbackType = GridPathfinding.UnitMovementCallbackType.Simple, object _obj = null, PathCallback callback = null)
        {
            lastMoveTo   = new LastMoveTo(_mapPos, _callbackType, _obj, callback);
            callbackType = _callbackType;
            obj          = _obj;
            pathCallback = callback;
            curX         = mapPos.x;
            curY         = mapPos.y;

            //return MyPathfinding.FindPath(curX,curY,_mapPos,OnPathComplete);
            return(false);
        }
 public bool MoveTo(LastMoveTo _lastMoveTo)
 {
     return(MoveTo(_lastMoveTo.mapPos, _lastMoveTo.callbackType, _lastMoveTo.obj, _lastMoveTo.callback));
 }