This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEngine; | |
public class AutoNameAnimations : AssetPostprocessor { | |
static readonly string[] renameMatches = new string[] { "Take 001", "mixamo.com" }; | |
void OnPostprocessModel(GameObject gameObject) { | |
ModelImporter importer = assetImporter as ModelImporter; |