// Property ------------------------------------------------------------------------- // Control Function ----------------------------------------------------------------- void ReimportTextures(string assetPath, bool bRecursively, TextureWrapMode wrapMode, FilterMode filterMode, int anisoLevel, int maxTextureSize, TextureImporterFormat textureFormat) { int nOutFindFile; NgAsset.ObjectNode[] objNodes = NgAsset.GetTexturePathList("Assets/" + assetPath, bRecursively, 0, out nOutFindFile); for (int n = 0; n < objNodes.Length; n++) { ReimportTexture(objNodes[n].m_AssetPath, wrapMode, filterMode, anisoLevel, maxTextureSize, textureFormat); } }