Add morph name

This commit is contained in:
左右看
2022-10-31 18:12:12 +08:00
parent 3892bbb6a9
commit f44b8695ff
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ public class UmaViewerUI : MonoBehaviour
foreach (FacialMorph morph in tempMorph)
{
var container = Instantiate(UmaContainerSliderPrefab, FacialList.content).GetComponent<UmaUIContainer>();
container.Name.text = morph.name;
container.Name.text = morph.name + " (" + morph.tag + ")";
container.Slider.value = morph.Weight;
container.Slider.maxValue = 1;
container.Slider.minValue = 0;