/// <summary> /// Update native client internal ANR timer. /// </summary> private void LateUpdate() { if (_nativeClient != null) { _nativeClient.UpdateClientTime(Time.unscaledTime); } #if !UNITY_WEBGL if (_metrics != null) { _metrics.Tick(Time.unscaledTime); } #endif if (BackgroundExceptions.Count == 0) { return; } while (BackgroundExceptions.Count > 0) { // use SendReport method isntead of Send method // because we already applied all watchdog/skipReport rules // so we don't need to apply them once again SendReport(BackgroundExceptions.Pop()); } }
/// <summary> /// Update native client internal ANR timer. /// </summary> private void Update() { _nativeClient?.UpdateClientTime(Time.time); }
/// <summary> /// Update native client internal ANR timer. /// </summary> private void Update() { _nativeClient?.UpdateClientTime(Time.unscaledTime); }