private void OnDestroy() { MyThreadPool.DestroyThreadPool(); }
private void OnApplicationQuit() { MyThreadPool.DestroyThreadPool(); }
void MainMenu() { MyThreadPool.DestroyThreadPool(); SceneManager.LoadScene("MainScene"); }