El movimiento relativo del mouse comparado al último evento.
Used in EventType.MouseMove, EventType.MouseDrag, EventType.ScrollWheel events.
See Also: Event.mousePosition.
using UnityEngine;
public class Example : MonoBehaviour { // Move the scroll wheel to determine // the X & Y scrolling amount. void OnGUI() { Event e = Event.current; if (e.isMouse) { Debug.Log(e.delta); } } }