void Start() { m_arStreamingController = GameObject.FindObjectOfType <WRLDARStreamingCameraHandler> (); // Please import Unity ARKit Plugin if you are seeing a compiler error here. m_planeAnchorMap = new Dictionary <string, ARPlaneAnchor> (); // Please import Unity ARKit Plugin if you are seeing a compiler error here. UnityARSessionNativeInterface.ARAnchorAddedEvent += AddAnchor; UnityARSessionNativeInterface.ARAnchorUpdatedEvent += UpdateAnchor; UnityARSessionNativeInterface.ARAnchorRemovedEvent += RemoveAnchor; }
public void Start() { m_streamingCameraHander = GameObject.FindObjectOfType <WRLDARStreamingCameraHandler> (); }