文档

Unity Engine

Unity Engine

UIToolkitInputBackendOption

Input backend options for UI Toolkit events at runtime.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Removed. This enum only has one supported value. The Default backend should always be used.
public enum UIToolkitInputBackendOption

Fields

Value

Description

DefaultThe initial configuration on UI Toolkit start up. This is equal to UIToolkitInputBackendOption.InputSystemCompatibleBackend. This option will use the Input System package is available, and the old Input Manager if not.
InputSystemCompatibleBackendThe new Input System compatible backend allows the Input System package to send its input to UI Toolkit directly, removing the need for an EventSystem in the user scene. This option will use the Input System package is available, and the old Input Manager if not.