Skip to content

Commit a347e64

Browse files
committed
docs: update
1 parent 38980a3 commit a347e64

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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 ||

docs/ScriptReference/UI/Slider/JCS_SliderTextDisplay.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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. |

0 commit comments

Comments
 (0)