for (var i = 0; i < SphereCount; i++) {
var o = GameObject.CreatePrimitive (PrimitiveType.Sphere);
o.tag = "Sphere";
o.transform.localScale = new Vector3 (SphereSize, SphereSize, SphereSize);
o.transform.position = new Vector3 (i + 70, 1, 1);
GameObject _sphere = GameObject.Find ("Spheres");
o.transform.parent = _sphere.transform;
}
The problem is that the first gameobject will be at i + 70 that’s 70
The next one will be at 71 then 72 then 73…But if i want to fhe first onle to be at 70 the next one to be at 75 then 80 then 85 then 90 ?