I’m getting this error with a script:
var guitextobject: GUIText;
var bluescore: int=0;
var limit: int=10;
function addBlue(){
bluescore++;
guiText.text = bluescore;
}
function Update(){
if (bluescore==limit)
Application.LoadLevel("empty");
}
I get an error saying (topic). how can I fix this? EDIT: line 10