文档

Unity Engine

Unity Engine

IsAnyKeyPressed

Whether any key or button (keyboard, mouse, or controller button) is currently pressed. Uses AdaptivePerformanceIdleTimeTracker.IsAnyKeyPressedProvider.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static bool IsAnyKeyPressed { get; }