Beispiel #1
0
    public void StartRound()
    {
        if (targetDetected == false)
        {
            Invoke("StartRound", 0.4f);
            return;
        }

        playerController.ResetPlayer();
        blocksManager.LoadRound(currentRoundNum);
        InvokeRepeating("CheckRoundState", 0f, 0.5f);

        // play new round sfx
        if (m_audio)
        {
            m_audio.PlayOneShot(new_round_clip);
        }
    }