Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VideoPlayer.isLooping

public bool isLooping;

Description

Determines whether the VideoPlayer restarts from the beginning when it reaches the end of the clip.

If set to false, the VideoPlayer will stop playback at the end of the clip and will not reset the time to the start of the clip.

Did you find this page useful? Please give it a rating: