Class SignalEmitterExtensions
Extension methods for signal emitters.
Namespace: Unity.Timeline.Hybrid
Syntax
public static class SignalEmitterExtensions
Methods
GetTarget(SignalEmitter, PlayableDirector)
Given a playable director, returns the gameObject that will receive the signals
Declaration
public static GameObject GetTarget(this SignalEmitter emitter, PlayableDirector director)
Parameters
Type | Name | Description |
---|---|---|
SignalEmitter | emitter | The signal emitter to find the target for |
PlayableDirector | director | The playable director that stores the track bindings |
Returns
Type | Description |
---|---|
GameObject | Null if there is no binding available |