drawing spheres at runtime

is there a simle way to add a lot of spheres (like using Gizmos.DrawSphere) at runtime instead of creating a load of gameobjects?

thanks

You could use CreatePrimitive to create a sphere and then change its scale, position, material etc.:

var mySphere : GameObject = GameObject.CreatePrimitive(PrimitiveType.Sphere);
mySphere.transform.localScale = Vector3(...);
mySphere.transform.position = Vector3(...);