com.alicizax.unity.editor.e.../Editor/Toolbar/RecommendedStyles/ButtonRecommendedStyle.cs
2025-08-01 19:32:29 +08:00

19 lines
423 B
C#

using UnityEngine.UIElements;
namespace Paps.UnityToolbarExtenderUIToolkit
{
internal class ButtonRecommendedStyle : RecommendedStyle
{
private Button _button;
public ButtonRecommendedStyle(Button button)
{
_button = button;
}
protected override void ApplyRootElementStyle()
{
_button.style.overflow = Overflow.Visible;
}
}
}