예제 #1
0
    public void Diff()
    {
        float difficulty = optionsController.Difficulty();

        if (difficulty == 2f)
        {
            for (int i = 1; i <= difficulty; i++)
            {
                Instantiate(zombie, transform.position, transform.rotation);
            }
        }
    }