using System; using UnityEngine; using UnityEngine.UIElements; namespace UnityEditor.U2D.Animation { internal class BoneToolbar : Toolbar { public class BoneToolbarFactory : UxmlFactory {} public class BoneToolbarUxmlTraits : UxmlTraits {} public event Action SetSkeletonTool = (mode) => {}; public SkinningCache skinningCache { get; private set; } public BoneToolbar() { styleSheets.Add(ResourceLoader.Load("SkinningModule/BoneToolbarStyle.uss")); } public void BindElements() { var editPose = this.Q