I want to gradually migrate various methods in, quite a chunky, Monobehaviour to ECS Jobs in order to leverage the multithreaded aspects of that system., specifically Unity Physics DOTS.
My initial investigation involved scheduling a Physics based Job directly from a Monobehaviour, and awaited the result. The job schedule occurs on the Update method, which could be problematic when starting Jobs and waiting for the results from the previous invocation of Update. To top it off, there are multiple physics calls in and around various call stacks of this Update.
I wanted to migrate the code gradually. Can anyone offer general advice on this, specifically scheduling Jobs from Monobehaviour with focus on the Update method.