public OptionalControlTreeViewItem(EditorInputControlLayoutCache.OptionalControl optionalLayout, string deviceControlId, string commonUsage)
     : base(optionalLayout.name)
 {
     m_ControlPath = optionalLayout.name;
     m_Device      = deviceControlId;
     m_Usage       = commonUsage;
 }
示例#2
0
 public OptionalControlDropdownItem(EditorInputControlLayoutCache.OptionalControl optionalLayout, string deviceControlId, string commonUsage)
     : base(optionalLayout.name)
 {
     m_ControlPath = optionalLayout.name;
     m_Device      = deviceControlId;
     m_Usage       = commonUsage;
     // Not searchable.
 }