public void Assignpath(Waypoints _path) { path = _path; path.AddPatrols(1); target = path.points[0]; }
public void Removepath() { path.AddPatrols(-1); path = null; target = null; }