文档

Unity Engine


User Manual

Script Reference

Unity Engine


inputOverride

Overrides the default input when NavigationEvents are sent.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. EventSystem no longer supports input override for legacy input. Install Input System package for full input binding functionality.
public InputWrapper inputOverride { get; set; }

Remarks

Use this override to bypass the default input system with your own input system. This is useful when you want to send fake input to the event system. This property will be ignored if the New Input System is used.