Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetDirectAudioVolume(ushort, float)

Set the direct-output audio volume for the specified track.
Read time 1 minuteLast updated 12 days 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.