I have no idea how to fix it. Heres the code:
var WaitSeconds : int = 10;
var showGUI : boolean = false;
function Start ()
{
WaitFunction();
}
function WaitFunction()
{
yield WaitforSeconds (WaitSeconds);
showGUI = true
}
function OnGUI ()
{
if (showGUI == true)
{
GUI.Box (Rect (10,10,280,30), "To show the mouse press ESC button");
}
}