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; }