internal void enqueueJob(VoxelJob job) { lock (this) { generatingTrees.Add(this); jobQueue.Enqueue(job); } }
public static void enqueueUpdate(VoxelJob job) { initialize(); updateQueue.enqueue(job); lock (jobStartCountLock) ++jobStartCount; //MonoBehaviour.print("WHO's your daddy?"); }
public void enqueueUpdate(VoxelJob job) { VoxelThread.enqueueUpdate(job); }