Version: 2021.3

AssetDatabase.DesiredWorkerCount

切换到手册
public static int DesiredWorkerCount ;

描述

The desired number of processes to use when importing assets, during an asset database refresh.

The actual count of running worker processes may be higher or lower, but the asset pipeline will seek towards this number of worker processes when possible.