标题: 代码修改fbx的压缩级别 [打印本页] 作者: atongmu 时间: 2016-5-26 19:48 标题: 代码修改fbx的压缩级别 有时候需要修改下fbx文件的压缩级别,手动改太费事了。写个脚本,自动改
using System;
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Collections;
public class meshEdit : Editor
{
[MenuItem("MLDJ/Utils/EditFbx")]
public static void Removefbx()
{
UnityEngine.Object[] textures = GetSelectedfBX();
foreach (UnityEngine.Object texture in textures) {