using UnityEngine; namespace UIWidgets { /// /// ILayoutBridge. /// public interface ILayoutBridge { /// /// Gets or sets a value indicating whether this instance is horizontal. /// /// true if this instance is horizontal; otherwise, false. bool IsHorizontal { get; set; } /// /// Gets or sets a value indicating whether this update content size fitter. /// /// true if update content size fitter; otherwise, false. bool UpdateContentSizeFitter { get; set; } /// /// Updates the layout. /// void UpdateLayout(); /// /// Sets the filler. /// /// First. /// Last. void SetFiller(float first, float last); /// /// Gets the size of the item. /// /// The item size. Vector2 GetItemSize(); /// /// Gets the top or left margin. /// /// The margin. float GetMargin(); /// /// Gets the full margin. /// /// The full margin. float GetFullMargin(); /// /// Gets the spacing. /// /// The spacing. float GetSpacing(); } }