Method CreateToggle
| Improve this Doc View SourceCreateToggle(Transform, float, float)
Create toggle field
Declaration
public GameObject CreateToggle(Transform parent, float width, float height)
Parameters
Type | Name | Description |
---|---|---|
Transform | parent | Parent transform |
float | width | Set width |
float | height | Set height |
Returns
Type | Description |
---|---|
GameObject |