文档

Unity Engine

Unity Engine

IsUserActiveProvider

Optional developer-defined activity condition, checked in addition to key and cursor input. Return true to signal user activity from a source not covered by the built-in checks (for example, gamepad analog sticks via the Input System, or application-specific activity). Defaults to a condition that reports no activity.
阅读时间1 分钟最后更新于 1 个月前

Definition

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