So I’m guessing I made a mistake somewhere with the code, but I’m not seeing it.
VS is returning an error for the bool operator
public static bool operator ==(GridPosition a, GridPosition b)
{
return a.x == b.x && a.z = b.z;
}
Not seeing what is causing the issue in the code.
(Edit Update)
Copying and pasting the same line from the Git resource, and the error goes away, looking at the two lines in Notepad++, it seems like VS’s auto formatting added a tabbed indent for some reason (probably user error/typo when I was using autocomplete) that was causing the problem.
(/Edit)