public static void UpdateWorker() { if (WorkerInstance != null && !WorkerInstance.WorkerSettings.Multithreaded) { WorkerInstance.ThreadUpdate(); } }
public static void StopWorkerThread() { if (WorkerInstance != null) { WorkerInstance.Stop(); WorkerInstance = null; } }
public static void StartWorkerThread(PSMoveWorkerSettings workerSettings) { if (WorkerInstance == null) { WorkerInstance = new PSMoveWorker(workerSettings); } WorkerInstance.Start(); }