/// <summary> /// This is called each time new depth data is available. /// /// On the Tango tablet, the depth callback occurs at 5 Hz. /// </summary> /// <param name="tangoDepth">Tango depth.</param> public void OnTangoDepthAvailable(TangoUnityDepth tangoDepth) { // Don't handle depth here because the PointCloud may not have been updated yet. Just // tell the coroutine it can continue. m_findPlaneWaitingForDepth = false; }