Okay, so what I want to do is create a Tile everywhere there is an "X". so what I think i would do is:
So I would instantiate a gameobject for every X but for "O" I would instantiate a wall... How do you do this?
asked Jan 08 '12 at 11:02 AM
How about this- instead of using a string like that, why don't you use an array of booleans? (actually integers, since they're smaller...)
Then, to instantiate objects over a space, do something like this-
Please note that you can't assign these in the editor, or keep them serialised along with your other properties. You either have to hardcode them, or use a special custom editor.