Exemplo n.º 1
0
        public static ISpeechDetectionPlugin GetInstance()
        {
#if UNITY_WEBGL && !UNITY_EDITOR
            return(WebGLSpeechDetectionPlugin.GetInstance());
#else
            return(ProxySpeechDetectionPlugin.GetInstance());
#endif
        }
 /// <summary>
 /// Set the singleton instance
 /// </summary>
 private void Awake()
 {
     _sInstance = this;
 }