public MeshContainer GetMesh(string id) { MeshContainer retVal = null; int index = -1; if (m_dict.TryGetValue(id, out index)) { retVal = meshContainers[index]; } return(retVal); }
public void LoadMeshContainer(MeshContainer m) { if (!isFemale) { bodyRenderer.sharedMesh = m.m_mesh; } else { bodyRenderer.sharedMesh = m.f_mesh; } bodyRenderer.sharedMaterial = m.meterial; }
public void LoadCharacter() { MeshContainer m = r_manager.GetMesh(outfitID); LoadMeshContainer(m); }