Пример #1
0
 public void OnDestroy()
 {
     m_Watchdog?.Dispose();
     m_Watchdog = null;
 }
Пример #2
0
 public void Awake()
 {
     m_Watchdog = new ThreadWatchdog(Thread.CurrentThread, Timeout);
     m_Watchdog.Start();
 }