示例#1
0
    void GameOver()
    {
        Time.timeScale = 0;

        GuiTest g = (GuiTest)GameObject.Find("HUD").GetComponent <GuiTest>();

        g.GameOver();

        //Debug.Log ("gameover");
    }
示例#2
0
        public void openPanelTest(bool save)
        {
            this.panelMain.Controls.Clear();
            GuiTest test = new GuiTest(this, save);

            test.TopLevel   = false;
            test.AutoScroll = true;
            this.panelMain.Controls.Add(test);
            test.Show();
            setMenuButton(false);
            setTestAnalysisButton(false);
        }