// Use this for initialization void Start() { //set up all gesture models gestureSplit = new GestureSplit(); gestureClap = new GestureClap(); gestureLeftSwap = new GestureLeftSwap(); gestureRightSwap = new GestureRightSwap(); gestureUpSwap = new GestureUpSwap(); gestureDownSwap = new GestureDownSwap(); gestureGrab = new GestureGrab(); gesturePinch = new GesturePinch(); }
protected void LeapGestureInit() { //set up all gesture models gestureSplit = new GestureSplit(); gestureClap = new GestureClap(); gestureLeftSwapLH = new GestureLeftSwap(); gestureRightSwapLH = new GestureRightSwap(); //gestureUpSwapLH = new GestureUpSwap(); //gestureDownSwapLH = new GestureDownSwap(); gestureUpLongSwapLH = new GestureUpLongSwap(); gestureDownLongSwapLH = new GestureDownLongSwap(); gestureGrabLH = new GestureGrab(); gestureGrabbingLH = new GestureGrabbing(); gestureLeftSwapRH = new GestureLeftSwap(); gestureRightSwapRH = new GestureRightSwap(); //gestureUpSwapRH = new GestureUpSwap(); //gestureDownSwapRH = new GestureDownSwap(); gestureUpLongSwapRH = new GestureUpLongSwap(); gestureDownLongSwapRH = new GestureDownLongSwap(); gestureGrabRH = new GestureGrab(); gestureGrabbingRH = new GestureGrabbing(); }