optimize performance

This commit is contained in:
CroakFang
2022-11-01 22:53:52 +08:00
parent b96df921bb
commit bdeb68b029
5 changed files with 42 additions and 49 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ public class UmaViewerUI : MonoBehaviour
container.Slider.value = morph.Weight;
container.Slider.maxValue = 1;
container.Slider.minValue = 0;
container.Slider.onValueChanged.AddListener((a) => { morph.Weight = a;});
container.Slider.onValueChanged.AddListener((a) => { target.ChangeMorphWeight(morph, a); });
}
}