示例#1
0
    private IEnumerator GameOverWait()
    {
        // Wait to reveal game over after player is destroyed
        yield return(new WaitForSeconds(1.0f));

        score.CheckScore();
        gameUI.SetActive(false);
        gameOver.SetActive(true);
        StatHUD.SetActive(true);
        ScoreDisplay();
        camera.ResetCamera();
        player.PlayerShoot().TurnOff();
        AdService.instance.ButtonCheck();
        CloudSaving.instance.SaveGame();
    }