예제 #1
0
 public void Destroy()
 {
     if (m_HandSignalController != null)
     {
         m_HandSignalController.onDestroy();
         m_HandSignalController = null;
     }
     if (m_HandCursorController != null)
     {
         m_HandCursorController.onDestroy();
         m_HandCursorController = null;
     }
     if (m_HandGrabController != null)
     {
         m_HandGrabController.onDestroy();
         m_HandGrabController = null;
     }
     if (m_HandTrackingController != null)
     {
         m_HandTrackingController.onDestroy();
         m_HandTrackingController = null;
     }
     if (instance != null)
     {
         instance = null;
     }
 }