不可能的工作:在FBX模型导入脚本中生成模型的预置体
#if UNITY_EDITOR using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using UnityEditor; using UnityEngine; public class AnimImport : AssetPostprocessor { StringBuilder sb = new StringBuilder(); //fbx动画导入前的处理,对动画集进行分段设置,划分为各个子集 void OnPreprocessAnimation() { var fpath = Path.GetDirectoryName(assetImporter.assetPath) + "/times.txt"; if (!File.Exists(fpath)) { //