I have it right now where a player can choose the size of their map (rts game), but what I need to happen is that a grid of planes needs to be created determined by the players input. So for example:
Player chooses 64 x 64 size
A grid of 64 x 64 planes appears all with the type "dirt".
You can use prefabs to define all default properties, like dirt or grass. Then create loops that go through every cell in the grid and instantiate the object with an offset to the spawner. Adjust spacing to the size of your grid cells (standard planes are 10x10 by default).
var prefab : GameObject;
var spacing : Vector2 = Vector2(1, 1);
var size : int = 64;
for (y = 0; y < size; ++y)
for (x = 0; x < size; ++x)
{
var offset = Vector3(x * spacing.x, 0, y * spacing.y);
Instantiate(prefab, transform.position + offset, transform.rotation);
}