so here is my code http://pastebin.com/2zJvzjJx can anyone please help me and fix this it says in unity there a error http://i.imgur.com/AQ0injS.png
if(GUI.Button(Rect(btnX *1.5 +btnW, btnY*1.2 + (btnH * i), btnW*3, btnH*0.5), hostData.gameName); thats all is on line 82 seems okay for me
Code (csharp): if(GUI.Button(Rect(btnX *1.5 +btnW, btnY*1.2 + (btnH * i), btnW*3, btnH*0.5), hostData[i].gameName); First there is a ; on the end that shouldnt be there so change that to ) Code (csharp): if(GUI.Button(Rect(btnX *1.5 +btnW, btnY*1.2 + (btnH * i), btnW*3, btnH*0.5), hostData[i].gameName))