기술 자료

Unity Engine

Unity Engine

GetAudioLanguageCode(ushort)

Returns the language code, if any, for the specified track.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public string GetAudioLanguageCode(ushort trackIndex)

Parameters

trackIndex

Index of the audio track to query.

Returns

Type

Description

stringLanguage code.

Remarks

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