Example #1
0
        void AddSquares()
        {
            int squares2x2 = Formula.Calculate2x2SquareNum(LevelManager.instance.mazeDifficulty);
            int squares3x3 = Formula.Calculate3x3SquareNum(LevelManager.instance.mazeDifficulty);

            for (int i = 0; i < squares2x2; i++)
            {
                AddSquare(2);
            }

            for (int i = 0; i < squares3x3; i++)
            {
                AddSquare(3);
            }
        }