private void NextWaypoint() { if (index == 0) { SetLinesActive(true); } lineData.ReachIndex(index); }
private void NextWaypoint(bool player) { if (index == 0) { SetLinesActive(true); firstPoint.SetActive(false); } LineDataCopy ld = GetLineData(player); ld.ReachIndex(index); }