public void initialization() { sliderGestureControl = GetComponent <SliderGestureControl>(); gestureInteractive = GetComponent <GestureInteractive>(); //this fires, when the slider bar changes its value sliderGestureControl.OnUpdateEvent.AddListener(onSliderBarUpdate); //sliderGestureControl.OnUpdateEvent += ; }
public void ResetPosition() { GestureInteractive gestureInteractive = GetComponent <GestureInteractive>(); gestureInteractive.ResetPosition(); }