This is a Editor script, the problem is; I’m loading and attaching a mesh with Resource.Load():
Mesh mesh = (Mesh)Resources.Load(string.Format(@"{0}", asset.Name.Split('.')[0]), typeof(Mesh));
Though when I attach it (with asset.AddComponent<Mesh>().mesh = mesh
, it only grabs one of the Meshes in the group but there are multiple groups:
How would I be able to add all the meshes in this case to my GameObject?