private void OnDestroy() { if (taskRunner != null) { taskRunner.DestroyThread(); taskRunner = null; } }
private void Awake() { taskRunner = new MultiThreadTaskRunner(); }
private void OnDestroy() { if (taskRunner != null) { taskRunner.DestroyThread(); taskRunner = null; } }
private void Awake() { taskRunner = new MultiThreadTaskRunner(); }