Exemple #1
0
        public MeshContainer GetMesh(string id)
        {
            MeshContainer retVal = null;
            int           index  = -1;

            if (m_dict.TryGetValue(id, out index))
            {
                retVal = meshContainers[index];
            }

            return(retVal);
        }
Exemple #2
0
        public void LoadMeshContainer(MeshContainer m)
        {
            if (!isFemale)
            {
                bodyRenderer.sharedMesh = m.m_mesh;
            }
            else
            {
                bodyRenderer.sharedMesh = m.f_mesh;
            }

            bodyRenderer.sharedMaterial = m.meterial;
        }
Exemple #3
0
        public void LoadCharacter()
        {
            MeshContainer m = r_manager.GetMesh(outfitID);

            LoadMeshContainer(m);
        }