File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Assets/JCSUnity/Scripts/UI/Slider
docs/ScriptReference/UI/Slider Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ public class JCS_SliderTextDisplay : JCS_TextObject
2020 {
2121 /* Variables */
2222
23+ // The execution when the text data is refreshed.
2324 public Action onRefresh = null ;
2425
2526 // Record for last min value.
@@ -110,6 +111,9 @@ public void Refresh()
110111 onRefresh ? . Invoke ( ) ;
111112 }
112113
114+ /// <summary>
115+ /// Handle min/max value changed.
116+ /// </summary>
113117 private void HandleMinMaxValueChanged ( )
114118 {
115119 if ( mMinVal != mSlider . minValue ||
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Text that display slider's value.
66
77| Name | Description |
88| :------------| :---------------------------------------------------|
9+ | onRefresh | The execution when the text data is refreshed. |
910| mSlider | To update the text along with this slider's value. |
1011| mFormat | Format text to display. |
1112| mRoundPlace | Place you want to round the decimal. |
You can’t perform that action at this time.
0 commit comments