Documentation

Unity Engine

Download Unity

Unity Engine

SetDirectAudioVolume(ushort, float)

Set the direct-output audio volume for the specified track.
Read time 1 minuteLast updated a month ago

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.