Hai, i already create a map like this:
![alt text][1]
[1]: /storage/temp/18336-map.png
Now i want to draw a obstacles within those grids, how do i do that?
Right now i only be able to draw a obstacles during mouse down, but i am not able to generate a map that have a obstacles once i run the game.
Please help me.
Here is my code for making a grid in unity3d (c#):
public GameObject TilePrefab;
public List
- > map = new List
- >();
public int mapSize = 20;
void GenerateMap()
{
map = new List
- >();
for (int i = 0; i < mapSize; i++)
{
List