Merge branch 'master' into LouDi_Quan

This commit is contained in:
shenjianxing 2025-01-09 16:32:51 +08:00
commit e77f92b15c

View File

@ -5,7 +5,6 @@ using System.Collections;
using System.IO;
using System.Text.RegularExpressions;
using System;
using System.IO;
public class FbxAnimListPostprocessor : MonoBehaviour
@ -69,13 +68,20 @@ public class FbxAnimListPostprocessor : MonoBehaviour
}
if (match.Groups["loop"].Success)
{
clip.loop = match.Groups["loop"].Value == "loop";
if (match.Groups["loop"].Value == "loop")
{
clip.loop = true;
clip.wrapMode = WrapMode.Loop;
}
else
{
clip.loop = false;
}
}
if (match.Groups["name"].Success)
{
clip.name = match.Groups["name"].Value;
}
List.Add(clip);
match = regexString.Match(sAnimList, match.Index + match.Length);