コード例 #1
0
 private void EndSession()
 {
     if (currentSession != null)
     {
         currentSession.Pause();
         currentSession = null;
     }
     if (currentSessionDelegate != null)
     {
         currentSessionDelegate = null;
     }
 }
コード例 #2
0
 private void PrepareARSession()
 {
     currentSession          = new ARSession();
     currentSessionDelegate  = new ARKitSessionDelegate();
     currentSession.Delegate = currentSessionDelegate;
 }