Answers for "Microphone WebGL Library"

0

Microphone WebGL Library

#if UNITY_WEBGL && !UNITY_EDITOR
        void Awake()
        {
            Microphone.Init();
            Microphone.QueryAudioInput();
        }
#endif

#if UNITY_WEBGL && !UNITY_EDITOR
        void Update()
        {
            Microphone.Update();
        }
#endif
Posted by: Guest on April-06-2021

Browse Popular Code Answers by Language