Version: 2017.3
public Vector2 delta ;

Description

Относительное перемещение мыши по сравнению с предыдущим событием.

Используется в событиях EventType.MouseMove, EventType.MouseDrag, EventType.ScrollWheel.

See Also: Event.mousePosition.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnGUI() { Event e = Event.current; if (e.isMouse) Debug.Log(e.delta); } }