com.alicizax.unity.editor.e.../Editor/Toolbar/RecommendedStyles/ButtonRecommendedStyle.cs

19 lines
423 B
C#
Raw Normal View History

2025-08-01 19:32:29 +08:00
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;
}
}
}