示例#1
0
    void Update()
    {
        if (gameOverActivated == true)
        {
            timer -= Time.deltaTime;

            if (timer < 1)
            {
                SS.TakeAShot();
            }


            if (timer < 0)
            {
                LevelManager();
            }
        }
    }