|
Hi there, Uniters, im currently working on a tile based building game, I thought the building would be simple, but i cant find a smart way of doing this. Say, i have Instantiated a prefab at an position, and when i click the clone, another prefab is instantiated right above it(a relative position). I have an array assigning all the positions. Instantiate lines reads it. I cant just go : Instantiate(block, new Vector3(block.position.x,block.position.y+10,block.position.z),Quaternion.identity) As it is now, all the clones are called the same thing, can i rename them, or are there a simpler, smarter solution? I would prefer any code answers in C#, if possible. Thanks for reading. Gravn [Not a minecraft clone]
(comments are locked)
|
I feel so dumb right now...haha woops thanks a lot for the quick answer Gravn
Apr 06 '12 at 01:54 AM
Gravn
(comments are locked)
|
