Hi!
This should do the trick :)
int WaypointIndex = Array.IndexOf(Waypoints, TargetTile); //Find index of reached waypoint
List temp = new List(Waypoints); //Duplicate old Array into a List
temp.RemoveAt(WaypointIndex); //Remove reached waypoint from templist
Waypoints = temp.ToArray(); //Update array
↧