At time 0:45 of the video lecture, it is suggested to replace
if (Length == 0)
at line 64 of WaypointCircuit.cs with
if (Length <= Mathf.Epsilon)
But I don’t get how this is the same thing. As far as I can tell, if Length is -1 (or any number smaller than 0 - Mathf.Epsilon) the result will be true. Unity documentation suggests that we use instead
Length >= 0 - Mathf.Epsilon && Length <= 0 + Mathf.Epsilon