public CatFoldoutMap(LayoutAttribute.Category category, bool display) { this.category = category; this.display = display; }
IEnumerable <SerializedProperty> GetProperties(LayoutAttribute.Category category) { return(m_PropertyMap.Values.Where(x => x.Key.category == category).OrderBy(x => x.Key.priority).Select(x => x.Value)); }