using System.Collections; using System.Collections.Generic; using BITKit; using BITKit.Animations; using BITKit.GameEditor; using BITKit.UX; using UnityEditor; using UnityEngine; using UnityEngine.UIElements; namespace BITFALL.GameEditor { public class MotionMatchingEditor : ScriptableObjectGroupEditor { protected override string AssetsPath => "Assets/Artists/Configs/MotionMatching/"; [MenuItem("Tools/ScriptableObjectEditor/Motion Matching")] public static void Open() { var window = GetWindow(); window.titleContent = new GUIContent("Motion Matching Editor"); window.Show(); } protected override void BindItem(VisualElement arg1, int arg2) { base.BindItem(arg1,arg2); var item = List[arg2]; var container = new UXContainer(arg1); container.contextLabel.text = item.name; //container.icon.style.backgroundImage = item.SquareIcon; } } }