Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UIToolkitInputConfiguration

Global configuration options for UI Toolkit input.
Read time 1 minuteLast updated 6 days ago

Definition

public static class UIToolkitInputConfiguration

Static Methods

Method

Description

SetRuntimeInputBackendUse this method to activate one of the two input backends available for UIToolkit events at runtime. The 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, and will automatically fall back to Input Manager input if the Input System package input isn't enabled in the Player Settings active input handling. Alternatively, use the legacy backend to always rely on Input Manager input only. In that case, if the Input Manager is not enabled as an active input handler, UI Toolkit runtime events will not work.