title: How to detect scrolling up or down in panel for Unity3d?
body: <p>I would like detect scrolling up or down. Should be like Windows Form below.</p>
  
  <pre><code>private void dgv_Scroll(object sender, ScrollEventArgs e)
      {
          if (e.OldValue &gt; e.NewValue)
          {
              // here up
          }
          else
          {
              // here down
          }
      }
  </code></pre>
  
  <p>How to detect scrolling up or down in panel for Unity3d ?</p>
  
  <pre><code>public void OnScrollValueChanged(float value)
  {
          if (?)
          {
              // here up
          }
          else
          {
              // here down
          }
  }
  </code></pre>