Exemple #1
0
    public void StartGame()
    {
        gamePlaying = true;
        Score       = 0;
        songManager.GameStart();

        bubbleManager.BubblePop += BubblePoped;

        gameStartTime = Time.time;
        Debug.Log($"gameStartTime {gameStartTime}");

        wordIndexSpawn = 0;
        for (int i = 0; i < bubbleManager.MaxBubbles; i++)
        {
            SpawnNewWord();
        }
    }