using UnityEngine; using UnityEngine.U2D.Common; using UnityEngine.UIElements; namespace UnityEditor.U2D.Animation { internal class Toolbar : VisualElement { public class ToolbarFactory : UxmlFactory {} public class ToolbarUxmlTraits : UxmlTraits {} public Toolbar() { AddToClassList("Toolbar"); styleSheets.Add(ResourceLoader.Load("SkinningModule/ToolbarStyle.uss")); if (EditorGUIUtility.isProSkin) AddToClassList("Dark"); } public void SetButtonChecked(Button toCheck) { var buttons = this.Query