I have a ton of concrete barriers, and Id like to create a straight line along my road with them, however i turned one sideways so every time i copy and paste, they go at an angle. How can I easily place a line of prefabs
for (var i : int = 0; i < preFabLimit; i++)
{
instantiate(prefab);
prefab.transform.position = vector3(1 * i,1,1);
}
might not be perfect, but hopefully gives you an idea.