Exemplo n.º 1
0
 private void Panel_MouseMove(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Middle)
     {
         OnCameraScroll?.Invoke(this, new CameraScrollArgs(new Vector2(e.Location.X, e.Location.Y)));
     }
 }