Exemplo n.º 1
0
    //	// 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.EnsureKinectWrapperPresence())
        {
            // reload the same level
            Application.LoadLevel(Application.loadedLevel);
        }
    }