ドキュメント

Unity Engine

Unity Engine

Stop()

Exits audio recording mode. After this audio output will be audible again.
読み終わるまでの所要時間 1 分最終更新 9日前

Definition

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

Returns

Type

Description

boolReturns
true
if the engine was recording when this method is called. Returns
false
if the engine wasn't recording, in which case Unity logs an error.

Remarks

This returns audio rendering to the audio thread, which AudioRenderer.Start moves onto the main thread.