Beispiel #1
0
    void Update()
    {
        if ((transform.position.y < fallingYPos) && alive == true)
        {
            alive = false;

            if (GameController.roundActive == true)
            {
                GameController.EndRound();
            }
        }
    }