-
Notifications
You must be signed in to change notification settings - Fork 2
Parameters
Ashley Muncaster edited this page Apr 13, 2024
·
4 revisions
| Name | Type | Example |
|---|---|---|
| choices | List<ChoicesParameter.Choice> |
new List<ChoicesParameter.Choice>() |
| event | string |
"buzz" |
| label | string |
"Hello world" |
| keys | string[] |
new[] { "A", "1" } |
| max | int |
100 |
| min | int |
0 |
| multiSelect | bool |
false |
| persistent | bool |
false |
| step | int |
1 |
| submit | ParameterList |
new ParameterList() |
| text | string |
"Hello world" |
| value | string |
"value" |
| Name | Type | Example |
|---|---|---|
| align | string |
"center" |
| background | string |
"#ffffff" |
| border | string |
"2px solid #ff0000" |
| borderRadius | string |
"10px" |
| color | UnityEngine.Color |
Color.white |
| fontFamily | string |
"Open Sans, sans-serif" |
| fontSize | string |
"24px" |
| grid | bool |
false |
| gridColumns | int |
2 |
| gridGap | string |
"3px" |
| gridRowHeight | string |
"1fr" |
| height | string |
"300px" |
| hover | ParameterList |
new ParameterList() |
| margin | string |
"0 10px" |
| padding | string |
"10px" |
| radius | string |
"10px" |
| shadow | string |
"10px 5px 5px red" |
| width | string |
"auto" |