decline-cookies / anvil-unity-dots

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

ComponentDependency - AddDependency #229

Closed mbaker3 closed 1 year ago

mbaker3 commented 1 year ago

Interacting with this API isn't as efficient as it could be since the type lists need to be re-generated on every call. Work to introduce an additional data structure to prevent this is captured by #228.

What is the current behaviour?

If developers schedule a job against the JobHandle returned by GetDependency then there is no way to write the job completion handle back to the components for other jobs to schedule against.

What is the new behaviour?

Developer can write the dependency back to the components.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?