Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Microphone

Request permission to use any audio input sources attached to the device.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Microphone = 2

Remarks

Access to microphones is required especially for the following features:
  • Communication between players or users in the application
  • Voice commands - especially useful for accessibility
  • Voice-based game mechanics- for example the loudness of the user attracts enemies
  • Apps that analyze speech or noise, such as in language or karaoke apps
  • Playback of user’s voice
  • Voice filters