IndieGame/client/Packages/com.unity.inputsystem@1.7.0/InputSystem/Editor/ControlPicker/Layouts/DefaultInputControlPickerLayout.cs

17 lines
582 B
C#
Raw Normal View History

2024-10-11 10:12:15 +08:00
#if UNITY_EDITOR
using UnityEngine.InputSystem.Layouts;
namespace UnityEngine.InputSystem.Editor
{
internal class DefaultInputControlPickerLayout : IInputControlPickerLayout
{
public void AddControlItem(InputControlPickerDropdown dropdown, DeviceDropdownItem parent,
ControlDropdownItem parentControl,
InputControlLayout.ControlItem control, string device, string usage, bool searchable)
{
dropdown.AddControlItem(this, parent, parentControl, control, device, usage, searchable);
}
}
}
#endif // UNITY_EDITOR