using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.UIElements; using UnityEditor.UIElements; namespace PVSkill { public class SkillSonElement { private VisualElement root; private SkillSonConfig curSkillSonConfig; // elem private Label skillDescLbl; private Label actionTypeLbl; private Label objectTypeLbl; private Label scopeTypeLbl; private Label CDTypeLbl; private ListView buffListView; private SkillBuffElement buffElement; public SkillSonElement(VisualElement root) { var visualTree = AssetDatabase.LoadAssetAtPath("Assets/Editor/SkillEditor/SkillSonElement.uxml"); visualTree.CloneTree(root); this.root = root; this.skillDescLbl = root.Q