Function ThreadCountExtensions.ToConcreteThreadCount
int ToConcreteThreadCount (
thisThreadCount | count |
Calculates number of threads to use.
If count is not Automatic, simply returns count casted to an int.
Return
An int specifying how many threads to use, 0 means a coroutine should be used for pathfinding instead of a separate thread.
If count is set to Automatic it will return a value based on the number of processors and memory for the current system.
When running on WebGL this method always returns 0