public void UserDetected(uint userId, int userIndex)
    {
        // as an example - detect these user specific gestures
        //DetectしたいGestureをDetectGestureの引数に突っ込んで呼ぶようです
        KinectManager manager = KinectManager.Instance;

        //デフォルトのやつ(足元のやつ)
        this.GenerateFootParticle();

        //manager.DetectGesture(userId, KinectGestures.Gestures.Jump);
        //manager.DetectGesture(userId, KinectGestures.Gestures.Squat);

        manager.DetectGesture(userId, KinectGestures.Gestures.Push);
//		manager.DetectGesture(userId, KinectGestures.Gestures.Pull);

        manager.DetectGesture(userId, KinectGestures.Gestures.Psi);
        manager.DetectGesture(userId, KinectGestures.Gestures.SwipeRight);
        manager.DetectGesture(userId, KinectGestures.Gestures.SwipeLeft);
        manager.DetectGesture(userId, KinectGestures.Gestures.SwipeUp);
        manager.DeleteGesture(userId, KinectGestures.Gestures.RaiseRightHand);
        manager.DeleteGesture(userId, KinectGestures.Gestures.RaiseLeftHand);

        if (GestureInfo != null)
        {
            GestureInfo.GetComponent <GUIText>().text = "User detected";
        }
    }
    /// <summary>
    /// Invoked when a new user is detected. Here you can start gesture tracking by invoking KinectManager.DetectGesture()-function.
    /// </summary>
    /// <param name="userId">User ID</param>
    /// <param name="userIndex">User index</param>
    public void UserDetected(long userId, int userIndex)
    {
        // the gestures are allowed for the primary user only
        KinectManager manager = KinectManager.Instance;

        if (!manager || (userId != manager.GetPrimaryUserID()))
        {
            return;
        }

        // detect these user specific gestures

        manager.DetectGesture(userId, KinectGestures.Gestures.ButtomRight);
        manager.DetectGesture(userId, KinectGestures.Gestures.DoubleHandRight);
        manager.DetectGesture(userId, KinectGestures.Gestures.DoubleHandLeft);
        manager.DetectGesture(userId, KinectGestures.Gestures.LeftHandDownRight);
        manager.DeleteGesture(userId, KinectGestures.Gestures.DoubleHandPullBack);



        if (gestureInfo != null)
        {
            gestureInfo.GetComponent <GUIText>().text = "Swipe left, right or up to change the slides.";
        }
    }
    public void UserDetected(uint userId, int userIndex)
    {
        // detect these user specific gestures
        KinectManager manager = KinectManager.Instance;

        //	manager.DetectGesture(userId, KinectGestures.Gestures.SwipeLeft);
        //	manager.DetectGesture(userId, KinectGestures.Gestures.SwipeRight);
        manager.DeleteGesture(userId, KinectGestures.Gestures.Wheel);
        if (GestureInfo != null)
        {
            GestureInfo.GetComponent <GUIText>().text = "Swipe left, right or wheel to change the slides.";
        }
    }