Function SimulatorBurst.LockSimulationDataReadWrite
        
                LockSimulationDataReadWrite
        
                ()
    
            
            Takes an async read/write lock on the simulation data.
                Public
            
        RWLock.WriteLockAsync LockSimulationDataReadWrite ()
Takes an async read/write lock on the simulation data.
This can be used to access simulationData, outputData, quadtree, and GetAgentNeighbourLookup in a job.
Use the WriteLockAsync.dependency field when you schedule the job using the simulation data, and then call WriteLockAsync.UnlockAfter with the job handle of that job.