Rasagar/Library/PackageCache/com.unity.inputsystem/InputSystem/Editor/ControlPicker/Layouts/DefaultInputControlPickerLayout.cs

17 lines
582 B
C#
Raw Normal View History

2024-08-26 13:07:20 -07: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