0x00x0060
Members 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | currentOptionNameText | TextMeshProUGUI | Private | — | |
| 0x08 | OnChanged | UnityEvent<ScheduleOne.UIPopupScreen_ContextMenu.ContextMenuOption> | Public | — | |
| 0x08 | options | ContextMenuOption[] | Private | — | |
| 0x04 | currentIndex | int | Private | — | |
| 0x005C | 0x04 | unreflected bytes to end of UIPopupSelector | |||
Inherited from UIOption 6
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | selectable | UISelectable | 1 flags | — | |
| 0x08 | nameText | TextMeshProUGUI | 1 flags | — | |
| 0x08 | optionName | string | 1 flags | — | |
| — | 0x04 | MoveThreshold | float | PrivateStatic+1 flags | 1048576000 |
| 0x01 | wasNavPressedLastFrame | bool | Private | — | |
| 0x0039 | 0x03 | padding / unreflected | |||
| 0x04 | navTimer | float | Private | — | |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 13
| Signature | Flags | Native | Params |
|---|---|---|---|
| int GetOptionCount() | Public | 0x04 | |
| void Awake() | 2 flags | 0x00 | |
| void OpenPopup() | Private | 0x00 | |
| void ClosePopup(int selectedIndex) | Private | 0x04 | |
| void SetCurrentOptionWithoutNotify(int index) | Public | 0x04 | |
| void UpdateCurrentOptionText() | Private | 0x00 | |
| void AddOption(ContextMenuOption option) | Public | 0x08 | |
| void AddOptions(const ContextMenuOption[]& newOptions) | Public | 0x08 | |
| void ClearOptions() | Public | 0x00 | |
| void ClampCurrentIndex() | Private | 0x00 | |
| void SetOptions(const ContextMenuOption[]& newOptions, int defaultIndex) | Public | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 | |
| void <Awake>b__5_0() | Private | 0x00 |