private void OnPlaneRemoved(ARPlaneRemovedEventArgs args) { if (activePlanes.Contains(args.plane)) { activePlanes.Remove(args.plane); } }
//To get the number of plane when plane removed void PlaneRemovedFunction(ARPlaneRemovedEventArgs planeUpdated_Args) { nPlane = m_PlaneManager.planeCount; displayCountText(); }