decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

I224 Multiple data streams of same type - Part 1 #247

Closed jkeon closed 1 year ago

jkeon commented 1 year ago

Reworking the internals of TaskDrivers and related data to work on the concept of a world unique ID instead of the type.

This approach gets us most of the way there and solves the issue of being able to have multiple DataStreams on the same TaskDriver with the same type.

This paves the way for:

What is the current behaviour?

Everything is keyed off of Type so you can only have one of each type.

What is the new behaviour?

NOTE:

This is a bunch of jankyness in the internals right now. I've tried cleaning it up but then it just takes me down to actually implementing #241 so I drew a line and kept it like it is today.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?

mbaker3 commented 1 year ago

All responded. Just that one thing about the debug method.

jkeon commented 1 year ago

@mbaker3 Fixed the debug method to have a comment. Ready for review.