// 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(); } }
// Call when init void Awake() { depthCameraManager = GetComponent <DepthCameraManger>(); }