This one is (hopefully) a very simple question, as I just need an extra set of eyes. Can anyone spot the parser error in the code below? All variables are properly defined and the original instance of the error occurs in the for loop below the "<" sign.
Any help would be greatly appreciated.
public void AddModelSelectionDisplay(int id)
{
scrollPosition = GUI.BeginScrollView(new Rect(0, 0, modelRoladexRect.width, modelRoladexRect.height), scrollPosition, new Rect(0, 0, modelRoladexRect.width, 60*availableModels.Count));
for(int i = 0, i < availableModels.Count; i++)
{
GUI.Label(new Rect(0, 60*i, modelRoladexRect.width, 60), availableModels[i].name);
}
GUI.EndScrollView();
}
↧