Fix missing animation

- currently there are animations from `type00` to `type07`
- count of animations is large, but there is no problem in operation even if all of them are loaded
- animations with `_pos` are removed from the list because they do not work by themselves
This commit is contained in:
RabberDakk
2022-11-23 02:08:35 +09:00
committed by GitHub
parent a681d06ae4
commit 56d4a7a039
+1 -1
View File
@@ -516,7 +516,7 @@ public class UmaViewerUI : MonoBehaviour
if (umaId == -1)
{
foreach (var entry in filteredList.Where(a=> a.Name.Contains($"/type00") && !a.Name.Contains($"/tail")))
foreach (var entry in filteredList.Where(a=> a.Name.Contains($"/type0") && !a.Name.Contains($"/tail") && !a.Name.EndsWith($"_pos")))
{
var entryInstance = entry;
var container = Instantiate(UmaContainerPrefab, animationList.content).GetComponent<UmaUIContainer>();