public void OnDestroy() { m_Watchdog?.Dispose(); m_Watchdog = null; }
public void Awake() { m_Watchdog = new ThreadWatchdog(Thread.CurrentThread, Timeout); m_Watchdog.Start(); }