// // resets the last valid right hand event // public void ResetRightHandEvent() // { // lastRightHandEvent = InteractionWrapper.InteractionHandEventType.None; // } //----------------------------------- end of public functions --------------------------------------// void Awake() { // get reference to gui texts for left/right hand handGuiText = GameObject.Find("HandGuiText"); handCursor = GameObject.Find("HandCursor"); // ensure the needed dlls are in place if (InteractionWrapper.CheckKinectInteractionPresence()) { // reload the same level Application.LoadLevel(Application.loadedLevel); } }