Unity - Scripting API: AbstractGenericMenu
class in UnityEngine.UIElements
/
Implemented in:UnityEngine.UIElementsModule
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
Base class for menu functionality.
Public Methods
| Method | Description |
|---|---|
| AddDisabledItem | Adds a disabled item to this menu. |
| AddItem | Adds an item to this menu. |
| AddSeparator | Adds a visual separator to this menu. |
| DropDown | Displays the menu at the specified position. |