Exemple #1
0
 internal static bool IsNativePluginSupportAvailable()
 {
     if (VuforiaRuntimeUtilities.IsPlayMode())
     {
         if (VuforiaRuntimeUtilities.sNativePluginSupport == VuforiaRuntimeUtilities.InitializableBool.UNKNOWN)
         {
             VuforiaRuntimeUtilities.sNativePluginSupport = (VuforiaRuntimeUtilities.CheckNativePluginSupport() ? VuforiaRuntimeUtilities.InitializableBool.TRUE : VuforiaRuntimeUtilities.InitializableBool.FALSE);
         }
         return(VuforiaRuntimeUtilities.sNativePluginSupport == VuforiaRuntimeUtilities.InitializableBool.TRUE);
     }
     return(true);
 }
Exemple #2
0
 public static bool IsWebCamUsed()
 {
     return(!VuforiaAbstractConfiguration.Instance.WebCam.TurnOffWebCam && VuforiaRuntimeUtilities.CheckNativePluginSupport() && WebCamTexture.devices.Length != 0);
 }