文档

Unity Engine

Unity Engine

numRealVoices

The current maximum number of simultaneously audible sounds in the game.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

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.