ドキュメント

Unity Engine

Unity Engine

UIToolkitInputConfiguration

Global configuration options for UI Toolkit input.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.