- Home /
Question by
fillefilip8 · Sep 07, 2013 at 01:59 PM ·
inputkeys
expressions in statements must only be executed for their side-effects
help me what is wrong?
function Update () {
if (Input.GetKey ("escape"))
Application.Quit;
}
Comment
Best Answer
Answer by meat5000 · Sep 07, 2013 at 02:02 PM
function Update ()
{
if (Input.GetKey ("escape"))
Application.Quit();
}
Application.Quit*()*;