// -------------------- public FingerBinding(SuperTouchZoneCreationWizard wizard, string prefix) { this.wizard = wizard; this.prefix = prefix; this.gestureBinding = new TouchGestureStateBinding(null); this.gestureBindingInsp = new TouchGestureStateBindingInspector(null, new GUIContent("Gesture Bindings")); }
// ----------------------- public MultiFingerTouchConfigInspector(ControlFreak2.SuperTouchZone touchZone, GUIContent configTitleContent, GUIContent bindingTitleContent) { this.configTitleContent = configTitleContent; this.touchZone = touchZone; this.touchGestureBindingInsp = new TouchGestureStateBindingInspector(touchZone, bindingTitleContent); this.touchGestureConfigInsp = new TouchGestureConfigInspector(touchZone, new GUIContent("Gesture Configuration")); this.swipeJoyConfigInsp = new AnalogConfigInspector(touchZone, new GUIContent("Swipe Joystick Configuration"), false); }