Class SignalReactionComponentEditor
Custom inspector for SignalReactionComponent.
Presents each reaction as a searchable dropdown of every concrete EventDispatcherSignal type in the
project plus its response UnityEvent, so "react to signal X by doing Y" can be authored without code.
Namespace: Serenity.EventDispatcher.Infrastructure.Editor
Assembly: Serenity.UnityEventDispatcher.Infrastructure.Editor.dll
Syntax
public class SignalReactionComponentEditor : Editor
Remarks
The dropdown renders through Serenity.Global.Infrastructure.Settings.Editor.SerenityTypeSearchPicker, over
Serenity.EventDispatcher.Infrastructure.Settings.Editor.SignalParameterTreeGui.GetConcreteSignalTypes's catalog — the same type list
UnityEventDispatcherSignalDefinitionEditor and CreateSignalDefinitionWindow search, not
EventDispatcherSignalTypePicker's: a reaction only SUBSCRIBES to the signal type (it never
constructs one), so restricting the catalog to parameterless-constructible types would hide every
signal that carries payload data for no reason — the exact class of signal a designer is most likely
to want to react to.
Constructors
SignalReactionComponentEditor()
Declaration
public SignalReactionComponentEditor()
Methods
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()