Documentation

Unity Engine

Download Unity

Unity Engine

IsAnyKeyPressedProvider

Provider used to determine if any key or button is pressed. The default (legacy Input.anyKey) covers keyboard keys, mouse buttons, and controller buttons. Controller analog sticks and triggers are project-defined and not detected by the default; assign a custom provider (for example, backed by the
Read time 1 minuteLast updated 7 hours ago

Definition

public static Func<bool> IsAnyKeyPressedProvider { get; set; }