fix facial stencil problem, add static tear morph

This commit is contained in:
CroakFang
2023-08-31 00:14:14 +08:00
parent 1189922fcc
commit 8b0f738417
6 changed files with 91 additions and 23 deletions
+3 -3
View File
@@ -380,7 +380,7 @@ public class UmaViewerUI : MonoBehaviour
foreach (var prop in extraMorph.BindProperties)
{
var container = Instantiate(UmaContainerSliderPrefab, TargetList.content).GetComponent<UmaUIContainer>();
container.Name = $"{morph.locator.name}({prop.Type})";
container.Name = $"{morph.name}({prop.Type})";
container.Slider.value = prop.Value;
switch (prop.Type)
{
@@ -391,12 +391,12 @@ public class UmaViewerUI : MonoBehaviour
break;
case BindProperty.BindType.Select:
container.Slider.wholeNumbers = true;
container.Slider.maxValue = prop.BindPrefab.Count - 1;
container.Slider.maxValue = prop.BindPrefabs.Count - 1;
container.Slider.minValue = 0;
break;
case BindProperty.BindType.EyeSelect:
container.Slider.wholeNumbers = true;
container.Slider.maxValue = prop.BindPrefab.Count / 2 - 1;
container.Slider.maxValue = prop.BindPrefabs.Count / 2 - 1;
container.Slider.minValue = 0;
break;
case BindProperty.BindType.Enable: