//when called, gen the sphere through the mesh filter private void Awake() { GetComponent <MeshFilter>().mesh = SphereGen.Create(sphereSub, sphereRad); }