Skip to content

Commit 005c4ef

Browse files
committed
docs: udpate
1 parent e4c5ac6 commit 005c4ef

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

docs/ScriptReference/UI/JCS_Button.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ Button wrapper for more usable functionalities.
44

55
## Variables
66

7-
| Name | Description |
8-
|:------------------|:----------------------------------------------------------|
9-
| mButtonText | Text component under the button. |
10-
| mButtonSelection | Button Selection for if the button that are in the group. |
11-
| mAutoListener | Auto add listner to button click event?" |
12-
| mDialogueIndex | Index/ID for record the dialogue instance. |
13-
| mInteractable | Is the button interactable or not. |
14-
| mInteractColor | Color tint when button is interactable. |
15-
| mNotInteractColor | Color tint when button is not interactable. |
7+
| Name | Description |
8+
|:---------------------------|:----------------------------------------------------------|
9+
| onClick | Callback executed on click. |
10+
| onClickBtn | Callback executed on click with the button as argument. |
11+
| onInteractableStateChanged | Callback executed when interactable's state changes. |
12+
| mButtonText | Text component under the button. |
13+
| mButtonSelection | Button Selection for if the button that are in the group. |
14+
| mAutoListener | Auto add listner to button click event?" |
15+
| mDialogueIndex | Index/ID for record the dialogue instance. |
16+
| mInteractable | Is the button interactable or not. |
17+
| mInteractColor | Color tint when button is interactable. |
18+
| mNotInteractColor | Color tint when button is not interactable. |
1619

1720
## Example
1821

0 commit comments

Comments
 (0)