Example #1
0
 private void OnDestroy()
 {
     if (taskRunner != null)
     {
         taskRunner.DestroyThread();
         taskRunner = null;
     }
 }
Example #2
0
 private void Awake()
 {
     taskRunner = new MultiThreadTaskRunner();
 }