void RemovePlaneAnchor(MessageEventArgs mea) { serializableUnityARPlaneAnchor serPlaneAnchor = mea.data.Deserialize <serializableUnityARPlaneAnchor> (); ARPlaneAnchor arPlaneAnchor = serPlaneAnchor; UnityARSessionNativeInterface.RunRemoveAnchorCallbacks(arPlaneAnchor); }
void RemoveFaceAnchor(MessageEventArgs mea) { #if UNITY_IOS serializableUnityARFaceAnchor serFaceAnchor = mea.data.Deserialize <serializableUnityARFaceAnchor> (); ARFaceAnchor arFaceAnchor = serFaceAnchor; UnityARSessionNativeInterface.RunRemoveAnchorCallbacks(arFaceAnchor); #endif }