private void SignalReceiverOnOnSignalNotify(Playable origin, INotification notification, object context) { var signal = notification as SignalEmitter; if (signal != null && signal.asset != null) { Debug.Log("Signal!"); OnSignalNotify?.Invoke(signal.asset); } }
public void OnNotify(Playable origin, INotification notification, object context) { OnSignalNotify?.Invoke(origin, notification, context); }