I have been following the unity course for a while now and have gotten to lecture 132 (The Dictionary Data Structure). I am getting an Error on saying (foreach statement cannot operate on variables of type ‘Waypoint’ because ‘Waypoint’ does not contain a public instance definition for ‘GetEnumerator’). If someone could help I would be really thankful, Here are some screenshots of my code.
Pathfinder
Pathfinder Error
CubeEditor
Waypoint
EnemyMovement