Exemple #1
0
 // Activate Hand Module
 void SetupHandModule()
 {
     depthCameraManager = GetComponent <DepthCameraManger>();
     handModule         = HandModule.Activate(depthCameraManager.senseManager);
     if (handModule == null)
     {
         throw new System.Exception("Failed Loading Hand Module");
     }
     else
     {
         Debug.Log(TAG + "Hand Module is loaded successful");
         SetupHandConfiguration();
     }
 }
Exemple #2
0
 // Call when init
 void Awake()
 {
     depthCameraManager = GetComponent <DepthCameraManger>();
 }