public List <Vector3> FindPath(Node _startPos, Node _endPos) { List <Node> _foundPath = FindPathActual(_startPos, _endPos); if (null != _foundPath) { List <Vector3> _path = new List <Vector3>(); for (int i = 0; i < _foundPath.Count; ++i) { _path.Add(nodeGroup.GetPosition(_foundPath[i])); } return(_path); } return(null); }