public static float GetPreferredHeight(ILayoutElement _element) { return(_element == null ? 0.0f : Mathf.Max(Mathf.Max(_element.get_minHeight(), _element.get_preferredHeight()), 0.0f)); }
public static float GetMinHeight(ILayoutElement _element) { return(_element == null ? 0.0f : _element.get_minHeight()); }