Optimize physical effects, optimize eye tracking, bug fix

This commit is contained in:
CroakFang
2022-11-03 19:45:04 +08:00
parent 005aaaedcb
commit af5ccfd799
5 changed files with 45 additions and 18 deletions
+2 -2
View File
@@ -229,7 +229,7 @@ public class UmaViewerUI : MonoBehaviour
container.Slider.value = morph.weight;
container.Slider.maxValue = 1;
container.Slider.minValue = 0;
container.Slider.onValueChanged.AddListener((a) => { target.ChangeMorphWeight(morph, a); });
container.Slider.onValueChanged.AddListener((a) => {target.ChangeMorphWeight(morph, a);});
}
}
@@ -258,7 +258,7 @@ public class UmaViewerUI : MonoBehaviour
container.Slider.value = emotion.Weight;
container.Slider.maxValue = 1;
container.Slider.minValue = 0;
container.Slider.onValueChanged.AddListener((a) => { emotion.Weight = a; });
container.Slider.onValueChanged.AddListener((a) => { target.ChangeEmotionWeight(emotion, a); });
}
}