public static void CreateCamIndependentInstance() { if (VuforiaRuntimeUtilities.IsNativePluginSupportAvailable()) { if (Application.platform != RuntimePlatform.IPhonePlayer) { VuforiaWrapper.sCamIndependentWrapper = new VuforiaNativeWrapper(); return; } } else { VuforiaWrapper.sCamIndependentWrapper = new VuforiaNullWrapper(); } }
public static void CreateRuntimeInstance() { if (VuforiaRuntimeUtilities.IsVuforiaEnabled()) { if (Application.platform != RuntimePlatform.IPhonePlayer) { VuforiaWrapper.sWrapper = new VuforiaNativeWrapper(); return; } } else { VuforiaWrapper.sWrapper = new VuforiaNullWrapper(); } }
public static void SetImplementation(IVuforiaWrapper implementation) { VuforiaWrapper.sWrapper = implementation; }