Exemplo n.º 1
0
        void RemovePlaneAnchor(MessageEventArgs mea)
        {
            serializableUnityARPlaneAnchor serPlaneAnchor = mea.data.Deserialize <serializableUnityARPlaneAnchor> ();
            ARPlaneAnchor arPlaneAnchor = serPlaneAnchor;

            UnityARSessionNativeInterface.RunRemoveAnchorCallbacks(arPlaneAnchor);
        }
Exemplo n.º 2
0
        void RemoveFaceAnchor(MessageEventArgs mea)
        {
#if UNITY_IOS
            serializableUnityARFaceAnchor serFaceAnchor = mea.data.Deserialize <serializableUnityARFaceAnchor> ();

            ARFaceAnchor arFaceAnchor = serFaceAnchor;
            UnityARSessionNativeInterface.RunRemoveAnchorCallbacks(arFaceAnchor);
#endif
        }