コード例 #1
0
    void Awake()
    {
        sInstance = this;

        // This is required for OnPose and OnStatusChange to be triggered
        LibPlacenote.Instance.RegisterListener(this);
    }
コード例 #2
0
ファイル: CC.cs プロジェクト: vannorman/coffeecommand
    // 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 ;
    }