Show / Hide Table of Contents

Method CreateDropDown

| Edit this page View Source

CreateDropDown(Transform, Vector2, Vector2, Vector2, int, float, float)

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
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾