Skip to content

Commit 547428b

Browse files
committed
fix(SoundSlider): Use lateupdate to disable transition
1 parent 11499e3 commit 547428b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/JCSUnity/Scripts/UI/Slider/JCS_SoundSlider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ private void Awake()
3939
this.mSlider = this.GetComponent<Slider>();
4040
}
4141

42-
private void Update()
42+
private void LateUpdate()
4343
{
4444
float total = mSlider.maxValue - mSlider.minValue; // Find total.
4545
float val = mSlider.value / total; // Convert to 0 to 1 scale.

0 commit comments

Comments
 (0)