Unclaimed Project Is this your project? Claim it to unlock full analytics and manage your listing.
Claim This Project

Unity Project

Built with Unity 5.6.2f1 · download the source from GitHub

UnityWebGLMicrophone

README

UnityWebGLMicrophone

WebGL Microphone module for Unity

image_1

This package provides a WebGL module that allows the UnityEngine.Microphone API to be used on the WebGL with the sample interface.

That is, with one exception as the following script is needed in the scene to relay Microphone updates from WebGL to C#.

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

#if UNITY_WEBGL && !UNITY_EDITOR
        void Update()
        {
            Microphone.Update();
        }
#endif

Comments

No comments yet. Be the first!