Class SignalReceiver
Listens for emitted signals and reacts depending on its defined reactions.
Implements
Inherited Members
Namespace: UnityEngine.Timeline
Assembly: solution.dll
Syntax
public class SignalReceiver : MonoBehaviour, INotificationReceiver
Methods
Name | Description |
---|---|
AddEmptyReaction(UnityEvent) | Appends a null SignalAsset with a reaction specified by the UnityEvent. |
AddReaction(SignalAsset, UnityEvent) | Defines a new reaction for a SignalAsset. |
ChangeReactionAtIndex(int, UnityEvent) | Replaces the reaction at a specific index with a new UnityEvent. |
ChangeSignalAtIndex(int, SignalAsset) | Replaces the SignalAsset associated with a reaction at a specific index. |
Count() | Returns the count of registered SignalAssets. |
GetReaction(SignalAsset) | Gets the first UnityEvent associated with a SignalAsset. |
GetReactionAtIndex(int) | Gets the reaction at a specific index. |
GetRegisteredSignals() | Gets a list of all registered SignalAssets. |
GetSignalAssetAtIndex(int) | Gets the SignalAsset at a specific index |
OnNotify(Playable, INotification, object) | Called when a notification is sent. |
Remove(SignalAsset) | Removes the first occurrence of a SignalAsset. |
RemoveAtIndex(int) | Removes the SignalAsset and reaction at a specific index. |