Hi! This line is works later 7 seconds all the time. When I selected restart button, scene looks later 7 seconds.
if (GUI.Button(
new Rect(
Screen.width/4+10,
Screen.height/4+2*Screen.height/10+10,
Screen.width/2-20,
Screen.height/10),
"RESTART")) {
Application.LoadLevel(Application.loadedLevel); //works 7 sec later
}
How to solve this problem? Thankss.