Method CreateDropdownList
CreateDropdownList(GameObject)
Create the dropdown list to be shown when the dropdown is clicked. The dropdown list should correspond to the provided template GameObject, equivalent to instantiating a copy of it.
Declaration
protected virtual GameObject CreateDropdownList(GameObject template)
Parameters
Type | Name | Description |
---|---|---|
GameObject | template | The template to create the dropdown list from. |
Returns
Type | Description |
---|---|
GameObject | The created drop down list gameobject. |
Remarks
Override this method to implement a different way to obtain a dropdown list GameObject.