Ejemplo n.º 1
0
 void StopService()
 {
     m_ARInterface.StopService();
     ARInterface.planeAdded   -= PlaneAddedHandler;
     ARInterface.planeUpdated -= PlaneUpdatedHandler;
     ARInterface.planeRemoved -= PlaneRemovedHandler;
     m_ServiceRunning          = false;
     m_ARInterface             = null;
     m_HaveSentCameraParams    = false;
 }
Ejemplo n.º 2
0
 void StopService()
 {
     StopAllCoroutines();
     m_ARInterface.StopService();
     ARInterface.planeAdded   -= PlaneAddedHandler;
     ARInterface.planeUpdated -= PlaneUpdatedHandler;
     ARInterface.planeRemoved -= PlaneRemovedHandler;
     m_ARInterface             = null;
     m_HaveSentCameraParams    = false;
 }
Ejemplo n.º 3
0
 void OnDisable()
 {
     if (serviceRunning)
     {
         m_ARInterface.StopService();
         Application.onBeforeRender -= OnBeforeRender;
     }
 }
Ejemplo n.º 4
0
 void OnDisable()
 {
     StopAllCoroutines();
     if (IsRunning)
     {
         m_ARInterface.StopService();
         Application.onBeforeRender -= OnBeforeRender;
     }
 }