文档

Unity Engine

Unity Engine

Microphone

Request permission to use any audio input sources attached to the device.
阅读时间1 分钟最后更新于 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