예제 #1
0
        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);
            }
        }
예제 #2
0
 public void OnNotify(Playable origin, INotification notification, object context)
 {
     OnSignalNotify?.Invoke(origin, notification, context);
 }