Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

DefaultControls.CreateDropdown

public static GameObject CreateDropdown(Resources resources);

Parameters

resources Object with resources to use.

Returns

GameObject The root GameObject of the created element.

Description

Create a dropdown.

Note: See Resources for details about the argument.