using UnityEngine.UIElements; using VE = UnityEngine.UIElements.VisualElement; namespace AV.UITK { public static class IFluentExtensions { // TODO: Move all FluentElement utils into IFluent extension methods /* public static T Style(this IFluent e, params Styles[] styles) where T : VE { foreach (var style in styles) FluentUITK.DefineStyle(e.x, style); return e.x; } public static float Shrink(this IFluent e) where T : VE => e.x.resolvedStyle.flexShrink; public static T Shrink(this IFluent e, float flexShrink) where T : VE { e.x.style.flexShrink = flexShrink; return e.x; } */ } }