/// <summary>
        /// Unregisters a registered <see cref="ActiveCollisionConsumer"/> from this <see cref="ActiveCollisionPublisher"/>.
        /// </summary>
        /// <param name="consumer">The consumer being unregistered.</param>
        public virtual void UnregisterRegisteredConsumer(ActiveCollisionConsumer consumer)
        {
            if (RegisteredConsumerContainer == null)
            {
                return;
            }

            RegisteredConsumerContainer.Unregister(consumer);
        }
Beispiel #2
0
 public EventData Set(ActiveCollisionConsumer consumer, ActiveCollisionPublisher.PayloadData payload)
 {
     Consumer = consumer;
     Payload  = payload;
     return(this);
 }