Пример #1
0
 public void RaiseOnScroll(float delta, float currentY)
 {
     var args = new ControlScrollEventArgs (delta, currentY);
     OnScroll?.Invoke (this, args);
 }
Пример #2
0
 public void RaiseOnScroll(float delta, float currentY)
 {
     var args = new ControlScrollEventArgs (delta, currentY);
     if (OnScroll != null) {
         OnScroll (this, args);
     }
 }