decline-cookies / anvil-unity-dots

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

i186 - Moving Configure System Job onto the System #236

Closed jkeon closed 1 year ago

jkeon commented 1 year ago

Following #235, some more TaskDriver/TaskDriverSystem clean up for better code and readability.

What is the current behaviour?

Everything is configured on the TaskDriver with either Driver functions or System functions to specify where the actual data or jobs should go.

What is the new behaviour?

By accessing the protected TaskDriverSystem getter on TaskDriver, developers can be more explicit and clear about where data is being created and how the jobs are being scheduled.

We can also shorted a lot of the API and make the function names more consistent.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?