文档

Unity Engine

Unity Engine

Start()

Enters audio recording mode. After this Unity will output silence until AudioRenderer.Stop is called.
阅读时间1 分钟最后更新于 10 天前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public static bool Start()

Returns

Type

Description

boolReturns
true
if the engine was switched into output recording mode. It returns
false
if the engine is already recording, or if the platform doesn't support this API.

Remarks

While recording, Unity performs audio rendering on the main thread instead of the audio thread, which can increase frame times.