ExtendRealityLtd / Zinnia.Unity

A collection of design patterns for solving common problems.
http://vrtk.io
MIT License
319 stars 38 forks source link

feat(Tracking): add container for successful published consumers #512

Closed extendreality closed 4 years ago

extendreality commented 4 years ago

The ActiveCollisionRegisteredConsumerContainer is linked to a ActiveCollisionPublisher and its job is to store a collection of consumers that the publisher has successfully published to.

This means the publisher still doesn't know directly who it is publishing to, but holds an audit log of which consumers have successfully received the payload in the past.

The ActiveCollisionConsumer now also holds a reference to the top level container (i.e. the colliding rigidbody/collider GameObject) that the component is residing under.

ExtendReality-Bot commented 4 years ago

:tada: This PR is included in version 1.22.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: