Пример #1
0
    void Awake()
    {
        sInstance = this;

        // This is required for OnPose and OnStatusChange to be triggered
        LibPlacenote.Instance.RegisterListener(this);
    }
Пример #2
0
    // Use this for initialization
    void Start()
    {
        planeAnchorManager  = planeAnchorManagerRef;
        debugText           = debugTextRef;
        shipWeapons         = shipWeaponsRef;
        crosshair           = crosshairRef;
        featuresVisualizer  = featuresVisualizerRef;
        onionLocationHelper = onionLocationHelperRef;

        UnityEngine.XR.iOS.UnityARUtility.InitializePlanePrefab(planePrefab);
    }
Пример #3
0
    // Use this for initialization
    void Start()
    {
        Input.location.Start();

        mMapListPanel.SetActive(false);

        mSession = UnityARSessionNativeInterface.GetARSessionNativeInterface();
        UnityARSessionNativeInterface.ARFrameUpdatedEvent += ARFrameUpdated;
        StartARKit();
        CoffeeCommandFeaturesVisualizer.EnablePointcloud();
        LibPlacenote.Instance.RegisterListener(this);
//		LibPlacenote.Instance.onInitializedDelegate += OnInitialized ;
    }