so here is my code Unity 3D Mutiplayer Script - Pastebin.com can anyone please help me and fix this it says in unity there a error
The error message describes exactly what is wrong. Line 82 is missing one or more “)” characters.
if(GUI.Button(Rect(btnX 1.5 +btnW, btnY1.2 + (btnH * i), btnW3, btnH0.5), hostData*.gameName); thats all is on line 82 seems okay for me*
One or more “)” characters is missing. Count the opening parens, count the closing parens.
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 )
if(GUI.Button(Rect(btnX *1.5 +btnW, btnY*1.2 + (btnH * i), btnW*3, btnH*0.5), hostData[i].gameName))