KeyboardEvent
Snapshot of a single keyboard lifecycle event delivered by the native platform layer.
Remarks
zero. In an embedded WebGL player the rect remains relative to the canvas and can extend beyond its bounds when the browser keyboard overlaps only part of the page.public KeyboardEventPhase phaseThe lifecycle phase that triggered this event.
public Rect areaKeyboard rect in Unity screen pixels (Y-up, origin bottom-left). For the KeyboardEventPhase.WillShow / KeyboardEventPhase.WillChangeFrame phases this is the destination rect (where the keyboard will be after the animation).
public KeyboardEasing easingClosest standard easing matching the system curve. Falls back to KeyboardEasing.EaseInOut when the platform does not expose curve data.
Animation progress in the range 0..1. Only meaningful in KeyboardEventPhase.AnimationProgress events. The value is the system's interpolated fraction — it already incorporates easing.
True on platforms that emit per-frame KeyboardEventPhase.AnimationProgress events (Android API 30+). False on platforms where the keyboard animation must be driven client-side from animationDuration + easing.
