using System; using UnityEngine; using UnityEngine.UIElements; namespace UnityEditor.U2D.Animation { internal class MeshToolbar : Toolbar { public class MeshToolbarFactory : UxmlFactory {} public class MeshToolbarUxmlTraits : UxmlTraits {} public event Action SetMeshTool = (mode) => {}; public SkinningCache skinningCache { get; set; } public MeshToolbar() { styleSheets.Add(ResourceLoader.Load("SkinningModule/MeshToolbarStyle.uss")); } public void BindElements() { var button = this.Q