// UITK TreeView is not supported in earlier versions // Therefore the UITK version of the InputActionAsset Editor is not available on earlier Editor versions either. #if UNITY_EDITOR && UNITY_INPUT_SYSTEM_UI_TK_ASSET_EDITOR using System; using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine.UIElements; namespace UnityEngine.InputSystem.Editor { /// /// A view for displaying the actions of the selected action map in a tree with bindings /// as children. /// internal class ActionsTreeView : ViewBase { private readonly VisualElement m_Root; private readonly TreeView m_ActionsTreeView; private Button addActionButton => m_Root?.Q