Method GetReaction
GetReaction(SignalAsset)
Gets the first UnityEvent associated with a SignalAsset.
Declaration
public UnityEvent GetReaction(SignalAsset key)
Parameters
Type | Name | Description |
---|---|---|
SignalAsset | key | A SignalAsset defining the signal. |
Returns
Type | Description |
---|---|
UnityEvent | Returns the reaction associated with a SignalAsset. Returns null if the signal asset does not exist. |