public static bool HasUserMedia() { #if UNITY_WEBGL try { return(CAPI.Unity_MediaNetwork_HasUserMedia()); } catch (EntryPointNotFoundException) { //method is missing entirely } #endif return(false); }