IndieGame/client/Packages/com.unity.inputsystem@1.7.0/InputSystem/Editor/ControlPicker/Layouts/DefaultInputControlPickerLayout.cs
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00

17 lines
582 B
C#

#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