Version: 2022.3
LanguageEnglish
  • C#

VideoTimeReference.InternalTime

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The internal reference clock the VideoPlayer observes to detect and correct drift.

The VideoPlayer relies on its own internal clock to manage the timing and playback of the video. Unity uses Time.realtimeSinceStartup as a point of reference to detect and correct any drift during playback.

This timing is separate from Unity’s global time or any system time references. This means that if you pause or change the application's Time.timeScale, the video will continue to play as normal.