Amount of vertices when creating a sphere

Hiho!

After running this line of code

newSphere = GameObject.CreatePrimitive(PrimitiveType.Sphere);

I have a nice sphere in my scene, BUT if I’m creating VERY many spheres, I’ll get VERY VERY many vertices, but I didn’t found a parameter or function to change the amount of vertices. Cos I don’t want so many vertices.

Is it the only way to create a sphere with low polys in e.g. 3D-Studio, export it to unity and then clone it like this?

GameObject monster = (GameObject)Instantiate(Resources.Load(blockPrefabName), new Vector3(1.0F, 1.0F, 1.0F), Quaternion.identity);

No easier way?

Thanks in advance!

Cheers,
DBird

Unity primitives are just models, there’s no way to change the amount of vertices. You can write your own sphere-generating code, or import a model from another app. (Normally you’d make a public variable and use drag’n’drop rather than Resources.Load.)