This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

KeyDownEvent Constructor

Declaration

public KeyDownEvent();

Description

Constructor. Avoid newing events. Instead, use GetPooled() to get an event from a pool of reusable events.