Quantcast
Channel: Answers by "Robinmtb"
Viewing all articles
Browse latest Browse all 6

Answer by Robinmtb

$
0
0
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

Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>