ExpandCollapseOnClick Fields |
The ExpandCollapseOnClick type exposes the following members.
| Name | Description | |
|---|---|---|
| animDuration | The duration of the expand(or collapse) animation | |
| button |
The button to whose onClock to subscribe. If not specified, will try to GetComponent<Button> from the GO containing this script
| |
| expanded | This keeps track of the 'expanded' state. If true, on click the animation will set nonExpandedSize as the target size; else, nonExpandedSize x expandFactor | |
| expandFactor | When expanding, the initial size will be nonExpandedSize and the target size will be nonExpandedSize x expandFactor; opposite is true when collapsing | |
| nonExpandedSize | This is the size from which the item will start expanding | |
| onExpandAmounChanged | ||
| sizeChangesHandler |