Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UIToolkitInputBackendOption

Input backend options for UI Toolkit events at runtime.
Read time 1 minuteLast updated 12 days ago

Definition

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.
LegacyBackendThe legacy backend relies on the Input Manager Input class only and is not compatible with the Input System package. This option will always try to use the old Input Manager. If the Input Manager is not enabled as an active input handler, UI Toolkit runtime events will not work.