Skip to content

OGDropDown

Jeppe Zapp edited this page Feb 13, 2014 · 2 revisions

Dropdown menu

Variables

Variable Type
title string Title such as "File" or "Edit"
target GameObject Event handler
nestedOffset float Offset for submenus
submenu DropDownItemRoot[] Array of dropdown items
isDown boolean Is the dropdown menu active?

Example

I'd recommend you create your dropdowns with the inspector rather than scripting.

Clone this wiki locally