public void OnEnable() { tracker = (metaioTracker)target; metaioSDK = (metaioSDK) GameObject.Find("metaioSDK").GetComponent("metaioSDK"); if(!metaioSDK) Debug.LogError("Could not find the metaioSDK, with the metaioSDK script attached"); }
public void OnEnable() { metaioSDK = (metaioSDK)target; currentTrackingConfiguration = metaioSDK.trackingConfiguration; if (metaioSDK.trackingConfiguration.EndsWith(".3dmap") || metaioSDK.trackingConfiguration.EndsWith(".creator3dmap")) { mapLoader.setMapObject(GameObject.Find("Feature Map")); } }
public void OnEnable() { tracker = (metaioTracker)target; metaioSDK = (metaioSDK)GameObject.Find("metaioSDK").GetComponent("metaioSDK"); if (!metaioSDK) { Debug.LogError("Could not find the metaioSDK, with the metaioSDK script attached"); } }