示例#1
0
        protected void onFindOneFile(string fullPath)
        {
            string ext = ExportUtil.getFileExt(fullPath);

            if (m_ignoreExtList.IndexOf(ext) == -1)
            {
                string fileName = ExportUtil.getFileNameWithExt(fullPath);
                Mesh   mesh     = new Mesh();
                mesh.skelMeshParam.m_name           = fileName;
                mesh.skelMeshParam.m_inPath         = m_inPath;
                mesh.skelMeshParam.m_outPath        = m_outPath;
                mesh.skelMeshParam.m_resType        = m_resType;
                mesh.skelMeshParam.m_controllerPath = m_controllerPath;

                mesh.addSubMesh();

                SkinAnimSys.m_instance.m_xmlSkinMeshRoot.m_meshList.Add(mesh);
            }
        }