コード例 #1
0
    public void lossScore()
    {
        chaosLvl         += 15;
        ChaosLvlText.text = "CHAOS " + chaosLvl + "%";
        addMsgFailed();

        if (chaosLvl >= 100)
        {
            GameIsOn = false;
            CancelInvoke();
            ResetSatellite();
            PanelsManager.HideSatellites();
            PanelsManager.ShowLogoGGJ();
            GameOverScoreText.text = "You scored " + score + " points !";
            PanelsManager.ShowGameOverPanel();
        }
        //TODO: Add ShowMsgSound Here (Loss)
    }