Class UnityMenuLifecycleSignalsGui
Draws the "Lifecycle Signals" section of UnityMenuSettingsDefinitionEditor: the OnShow/OnHide/OnCancel reorderable signal lists plus the single "On Submit" signal slot. Extracted from that editor to keep it under the project's file-size guidance — this collaborator owns no serialized state of its own, only the UnityEditorInternal.ReorderableList instances it builds from the owning editor's UnityEditor.SerializedObject.
Inherited Members
Namespace: Serenity.Menu.Infrastructure.Settings.Editor
Assembly: Serenity.UnityMenu.Infrastructure.Editor.dll
Syntax
public sealed class UnityMenuLifecycleSignalsGui
Constructors
UnityMenuLifecycleSignalsGui(SerializedObject, Object, Action, float)
Declaration
public UnityMenuLifecycleSignalsGui(SerializedObject serializedObject, Object target, Action repaint, float headerWidth)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedObject | serializedObject | The owning editor's UnityEditor.SerializedObject. |
| Object | target | The owning editor's |
| Action | repaint | The owning editor's |
| float | headerWidth | Width for the section header, matching the owning editor's other section headers. |
Methods
Draw()
Renders the OnShow, OnHide, and OnCancel signal collections as standard Unity reorderable lists,
matching the visual style used by the Options list in the owning editor, followed by the single
"On Submit" signal slot.
Drag-and-drop reordering is handled natively by ReorderableList; runtime dispatch reads
the serialized array in index order so user-configured ordering is preserved.
Declaration
public void Draw()