예제 #1
0
        private void Initial()
        {
            for (int i = 0; i < _width; i++)
            {
                for (int j = 0; j < _height; j++)
                {
                    if (_cells[i, j] == null)
                    {
                        Vector2 tempPos = new Vector2(i, j);

                        _cells[i, j] = _spawnManager.SpawnNormalCell(tempPos);
                    }
                }
            }
        }