文档

Unity Engine

Unity Engine

outputSampleRate

Get the mixer's current output rate.
阅读时间1 分钟最后更新于 2 天前

Definition

public static int outputSampleRate { get; set; }

Remarks

As of version 5.0 setting the sample rate from scripts is no longer supported. This has to be set in the Audio section of the project settings instead.