Version: 2022.3

ProcessService.EnableProfileConnection

切换到手册
public static int EnableProfileConnection (string dataPath);

参数

dataPath Where to save profiling data. Normally this is set to Application.dataPath.

返回

int Greater than 0 if successful.

描述

Enables a connection to the Profiler. The standalone Profiler uses this method.