Ejemplo n.º 1
0
        /// <summary>
        /// Returns true if the browser has WebRTC support.
        /// False means the asset would likely crash.
        /// </summary>
        /// <returns></returns>
        public static bool IsBrowserSupported()
        {
#if UNITY_WEBGL
            try
            {
                return(CAPI.Unity_WebRtcNetwork_IsBrowserSupported());
            }catch (EntryPointNotFoundException)
            {
                //not available at all
            }
#endif
            return(false);
        }