Search Unity

How to get the count of worker thread?

Discussion in 'Entity Component System' started by Kichang-Kim, Apr 4, 2019.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,011
    Hi, the title is all, how to get the count of worker thread?

    Especially, this information is needed for dynamically changing the batch size of IJobParallelFor or other jobs.
     
  2. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
    SirDorius9 likes this.