Back to API Reference
Struct
KeyboardEvent
sealed
Snapshot of a single keyboard lifecycle event delivered by the native platform layer.
Remarks
Coordinates use Unity screen-space conventions: pixels, origin at bottom-left, Y increases upward.
area represents the keyboard rect in those coordinates; for a hidden keyboard area is 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 WillShow / 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 EaseInOut when the platform does not expose curve data.
