void OnSessionStateChanged(ARSessionStateChangedEventArgs eventArgs) { // If the session goes away then return to using standard background mode if (eventArgs.state < ARSessionState.SessionInitializing && m_BackgroundRenderer != null) { mode = ARRenderMode.StandardBackground; } }
void OnSessionStateChanged(ARSessionStateChangedEventArgs eventArgs) { UpdateVisibility(); }