Skip to content

Commit 777745f

Browse files
committed
docs(UI): Add slider variables
1 parent b77f84e commit 777745f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class JCS_SliderTextDisplay : JCS_TextObject
4646
[Range(0, 15)]
4747
private int mRoundPlace = 2;
4848

49-
[Tooltip("Display with custom text.")]
49+
[Tooltip("Display with the custom text.")]
5050
[SerializeField]
5151
private string mCustomFormat = "{0} / {1}";
5252

docs/ScriptReference/UI/Slider/JCS_SliderTextDisplay.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Text that display slider's value.
44

55
## Variables
66

7-
| Name | Description |
8-
|:------------|:---------------------------------------------------|
9-
| mSlider | To update the text along with this slider's value. |
10-
| mRoundPlace | Place you want to round the decimal. |
7+
| Name | Description |
8+
|:--------------|:---------------------------------------------------|
9+
| mSlider | To update the text along with this slider's value. |
10+
| mTextDisplay | Text display type. |
11+
| mRoundPlace | Place you want to round the decimal. |
12+
| mCustomFormat | Display with the custom text. |

0 commit comments

Comments
 (0)