예제 #1
0
    public void OnSliderAction(SliderDir dir)
    {
        if (_callback != null)
        {
            _callback(dir);
        }

        isRun = false;
    }
예제 #2
0
 private void SliderUpGoal_objectHit(object sender, EventArgs e)
 {
     Debug.Log("up hit");
         currentSlide = SliderDir.UP;
     
 }
예제 #3
0
 private void SliderDownGoal_objectHit(object sender, EventArgs e)
 {
     
         currentSlide = SliderDir.DOWN;
     
 }