Method script.isRunning(+ 1 overload)
Overload
Returns true
if the specified script task is running.
public static bool isRunning(string name)
Parameters
name (string)
Script file name (like |
Returns
Overload(top)
Returns true
if the specified script task is running.
public static bool isRunning(int processId)
Parameters
processId (int)
Script process id, for example returned by script.run. |
Returns
Exceptions
ArgumentException
processId is 0 or id of this process. |
Remarks
The script process can be started from editor or not.