Пример #1
0
 public static void CreateCamIndependentInstance()
 {
     if (VuforiaRuntimeUtilities.IsNativePluginSupportAvailable())
     {
         if (Application.platform != RuntimePlatform.IPhonePlayer)
         {
             VuforiaWrapper.sCamIndependentWrapper = new VuforiaNativeWrapper();
             return;
         }
     }
     else
     {
         VuforiaWrapper.sCamIndependentWrapper = new VuforiaNullWrapper();
     }
 }
Пример #2
0
 public static void CreateRuntimeInstance()
 {
     if (VuforiaRuntimeUtilities.IsVuforiaEnabled())
     {
         if (Application.platform != RuntimePlatform.IPhonePlayer)
         {
             VuforiaWrapper.sWrapper = new VuforiaNativeWrapper();
             return;
         }
     }
     else
     {
         VuforiaWrapper.sWrapper = new VuforiaNullWrapper();
     }
 }
Пример #3
0
 public static void SetImplementation(IVuforiaWrapper implementation)
 {
     VuforiaWrapper.sWrapper = implementation;
 }