Method CreateDropDown
|
Improve this Doc
View Source
Create dropdown field
Declaration
public GameObject CreateDropDown(Transform parent, Vector2 anchorMin, Vector2 anchorMax, Vector2 position, int fontSize = 16, float width = 0, float height = 0)
Parameters
Type |
Name |
Description |
Transform |
parent |
Parent transform |
Vector2 |
anchorMin |
Min anchor |
Vector2 |
anchorMax |
Max anchor |
Vector2 |
position |
Position |
int |
fontSize |
Optional font size, defaults to 16 |
float |
width |
Set width if > 0 |
float |
height |
Set height if > 0 |
Returns
Type |
Description |
GameObject |
|