Documentation

Unity Engine


Unity Engine


numVirtualVoices

The maximum number of managed sounds in the game. Beyond this limit sounds will simply stop playing.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public int numVirtualVoices

Remarks

WebGL: This setting doesn't affect WebGL because there is no limit on the number of audio channels in the WebGL platform. For an example of how to use this property, refer to AudioSettings.Reset.