using System; using UnityEngine; using UnityEngine.UIElements; namespace UnityEditor.U2D.Animation { internal class WeightToolbar : Toolbar { public class CustomUXMLFactor : UxmlFactory {} public event Action SetWeightTool = (mode) => {}; public SkinningCache skinningCache { get; set; } public WeightToolbar() { styleSheets.Add(ResourceLoader.Load("SkinningModule/WeightToolbarStyle.uss")); } public void EnableBoneInfluenceWidget() { this.Q