public override void Render() { var hovered = ButtonState is LgcyButtonState.Hovered or LgcyButtonState.Down; _skillNameLabel.ToggleStyle("char-ui-skill-button-hover", hovered); _skillBonusLabel.ToggleStyle("char-ui-skill-button-hover", hovered); GetSkillBreakdown(out _, out _, out _, out _, out var totalBonus); _skillBonusLabel.Text = totalBonus; if (hovered) { var bounds = GetContentArea(); Tig.ShapeRenderer2d.DrawRectangle(bounds, null, new PackedLinearColorA(255, 255, 255, 32)); } base.Render(); }