Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


End(string)

Stops recording.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public static void End(string deviceName)

Parameters

deviceName

The name of the device.

Remarks

If you pass a null or empty string for the device name then the default microphone will be used. You can get a list of available microphone devices from the Microphone.devices property.