Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

VideoPlayer.Stop

Declaration

public void Stop();

Description

Stops the playback and sets the current time to 0.

This also destroys all internal resources such as textures or buffered content. After calling /Stop()/, VideoPlayer.isPrepared becomes false.