示例#1
0
    void Update()
    {
        if (gameOverPlay == true)
        {
            if (Input.GetButton("Jump"))
            {
                //Application.LoadLevel ("Main");
                levelLogic.LoadCurrentLevel();
            }
        }

        if (Input.GetKey("escape"))
        {
            Application.Quit();
        }
    }