LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

VideoPlayer.audioTrackCount

public ushort audioTrackCount;

Description

Number of audio tracks found in the data source currently configured.

For URL sources, this will only be set once the source preparation is completed. See VideoPlayer.Prepare.