This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using Vuforia; | |
public class HybridPlaneManager : MonoBehaviour, ITrackableEventHandler | |
{ | |
private enum PlaneMode | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check that the device is supported. | |
NSError *deviceError = nil; | |
if ( [WTArchitectView isDeviceSupportedForRequiredFeatures:self.requiredFeatures error:&deviceError] ) { | |
// Create the architect view if needed. | |
if ( self.architectView == nil) { | |
WTArchitectView *architectView = [[WTArchitectView alloc] initWithFrame:self.wikitudeParentView.frame]; | |
architectView.delegate = self; | |
// Set the licence key. |