기술 자료

Unity Engine

Unity Engine

Microphone

Request permission to use any audio input sources attached to the device.
읽는 시간 1분최근 업데이트: 한 달 전

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
Note: Web doesn’t support the Microphone API. Therefore, if your application has the Web build target, the microphone permissions automatically return
false
.