Version: 2023.2

AssetDatabase.ForceToDesiredWorkerCount

切换到手册
public static void ForceToDesiredWorkerCount ();

描述

Forces the Editor to use the desired amount of worker processes. Unity will either spawn new worker processes or shut down idle worker processes to reach the desired number.