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