implements IGenericMenu
0x00x0070
Members 25
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | ussClassName | string | PublicStatic+1 flags | — | |
| 0x08 | itemUssClassName | string | PublicStatic+1 flags | — | |
| 0x08 | itemContentUssClassName | string | PublicStatic+1 flags | — | |
| 0x08 | labelUssClassName | string | PublicStatic+1 flags | — | |
| 0x08 | containerInnerUssClassName | string | PublicStatic+1 flags | — | |
| 0x08 | containerOuterUssClassName | string | PublicStatic+1 flags | — | |
| 0x08 | checkmarkUssClassName | string | PublicStatic+1 flags | — | |
| 0x08 | separatorUssClassName | string | PublicStatic+1 flags | — | |
| 0x08 | contentWidthUssClassName | string | PublicStatic+1 flags | — | |
| 0x08 | m_Items | List<UnityEngine.UIElements.GenericDropdownMenu.MenuItem> | Private | — | |
| 0x08 | m_MenuContainer | VisualElement | Private | — | |
| 0x08 | m_OuterContainer | VisualElement | Private | — | |
| 0x08 | m_ScrollView | ScrollView | Private | — | |
| 0x08 | m_PanelRootVisualContainer | VisualElement | Private | — | |
| 0x08 | m_TargetElement | VisualElement | Private | — | |
| 0x10 | m_DesiredRect | Rect | Private | — | |
| 0x08 | m_NavigationManipulator | KeyboardNavigationManipulator | Private | — | |
| 0x04 | m_PositionTop | float | Private | — | |
| 0x04 | m_PositionLeft | float | Private | — | |
| 0x04 | m_ContentWidth | float | Private | — | |
| 0x01 | m_FitContentWidth | bool | Private | — | |
| 0x01 | m_ShownAboveTarget | bool | Private | — | |
| 0x01 | <isSingleSelectionDropdown>k__BackingField | bool | Private | — | |
| 0x01 | <closeOnParentResize>k__BackingField | bool | Private | — | |
| 0x08 | m_MousePosition | Vector2 | Private | — |
Functions 32
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool get_isSingleSelectionDropdown() | 2 flags | — | 0x01 |
| void set_isSingleSelectionDropdown(bool value) | 2 flags | — | 0x01 |
| bool get_closeOnParentResize() | 2 flags | — | 0x01 |
| void set_closeOnParentResize(bool value) | 2 flags | — | 0x01 |
| VisualElement get_contentContainer() | Public+1 flags | — | 0x08 |
| void .ctor() | Public+1 flags | — | 0x00 |
| void OnAttachToPanel(AttachToPanelEvent evt) | Private | — | 0x08 |
| void OnDetachFromPanel(DetachFromPanelEvent evt) | Private | — | 0x08 |
| void Hide(bool giveFocusBack) | Private | — | 0x01 |
| void Apply(const KeyboardNavigationOperation& op, EventBase sourceEvent) | Private | — | 0x08 |
| bool Apply(const KeyboardNavigationOperation& op) | Private | — | 0x04 |
| void OnPointerDown(PointerDownEvent evt) | Private | — | 0x08 |
| void OnPointerMove(PointerMoveEvent evt) | Private | — | 0x08 |
| void OnPointerUp(PointerUpEvent evt) | Private | — | 0x08 |
| void OnFocusOut(FocusOutEvent evt) | Private | — | 0x08 |
| void OnParentResized(GeometryChangedEvent evt) | Private | — | 0x08 |
| void UpdateSelection(VisualElement target) | Private | — | 0x08 |
| void ChangeSelectedIndex(int newIndex, int previousIndex) | Private | — | 0x04 |
| int GetSelectedIndex() | Private | — | 0x04 |
| void AddItem(const string& itemName, bool isChecked, Action action) | PublicFinal+2 flags | — | 0x08 |
| void AddItem(const string& itemName, bool isChecked, Action<System.Object> action, object data) | PublicFinal+2 flags | — | 0x08 |
| void AddSeparator(const string& path) | PublicFinal+2 flags | — | 0x08 |
| MenuItem AddItem(const string& itemName, bool isChecked, bool isEnabled, object data) | Private | — | 0x08 |
| void DropDown(const Rect& position, VisualElement targetElement, bool anchored) | PublicFinal+2 flags | — | 0x10 |
| void OnTargetElementDetachFromPanel(DetachFromPanelEvent evt) | Private | — | 0x08 |
| void OnContainerGeometryChanged(GeometryChangedEvent evt) | Private | — | 0x08 |
| void OnInitialDisplay(GeometryChangedEvent evt) | Private | — | 0x08 |
| void EnsureVisibilityInParent() | Private | — | 0x00 |
| float GetLargestItemWidth() | Private | 0x04 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 | |
| void <Apply>g__UpdateSelectionDown|48_0(int newIndex, ref <>c__DisplayClass48_0& ) | Private | 0x10 | |
| void <Apply>g__UpdateSelectionUp|48_1(int newIndex, ref <>c__DisplayClass48_0& ) | Private | 0x10 |