From 56d4a7a03937bd72781081cc69689fd130b914f9 Mon Sep 17 00:00:00 2001 From: RabberDakk <59415461+RabberDakk@users.noreply.github.com> Date: Wed, 23 Nov 2022 02:08:35 +0900 Subject: [PATCH 1/2] 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 --- Assets/Scripts/UmaViewerUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/UmaViewerUI.cs b/Assets/Scripts/UmaViewerUI.cs index fe2c815..9fa434b 100644 --- a/Assets/Scripts/UmaViewerUI.cs +++ b/Assets/Scripts/UmaViewerUI.cs @@ -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(); From 9b39f2359311fbffc650a274530dbd4a26fda987 Mon Sep 17 00:00:00 2001 From: RabberDakk <59415461+RabberDakk@users.noreply.github.com> Date: Wed, 23 Nov 2022 02:34:53 +0900 Subject: [PATCH 2/2] fix --- Assets/Scripts/UmaViewerUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/UmaViewerUI.cs b/Assets/Scripts/UmaViewerUI.cs index 9fa434b..769712f 100644 --- a/Assets/Scripts/UmaViewerUI.cs +++ b/Assets/Scripts/UmaViewerUI.cs @@ -516,7 +516,7 @@ public class UmaViewerUI : MonoBehaviour if (umaId == -1) { - foreach (var entry in filteredList.Where(a=> a.Name.Contains($"/type0") && !a.Name.Contains($"/tail") && !a.Name.EndsWith($"_pos"))) + foreach (var entry in filteredList.Where(a=> (a.Name.Contains($"/type0") || a.Name.Contains($"/type99") || a.Name.Contains($"anm_sty_")) && !a.Name.Contains($"/tail") && !a.Name.EndsWith($"_pos") && !a.Name.EndsWith($"_prop") && !a.Name.Contains($"_defaultmotion"))) { var entryInstance = entry; var container = Instantiate(UmaContainerPrefab, animationList.content).GetComponent();