文档

Unity Engine

Unity Engine

SetDirectAudioVolume(ushort, float)

Set the direct-output audio volume for the specified track.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetDirectAudioVolume(ushort trackIndex, float volume)

Parameters

trackIndex

Track index for which the volume is set.

volume

New volume, between 0 and 1.