AssetListAttributeDrawer<TList, TElement>

Draws properties marked with AssetListAttribute. Displays a configurable list of assets, where each item can be enabled or disabled.

namespace Sirenix.OdinInspector.Editor.Drawers
{
[Sirenix.OdinInspector.Editor.DrawerPriorityAttribute((DrawerPriorityLevel)2)]
public sealed class AssetListAttributeDrawer<TList, TElement> : OdinAttributeDrawer<AssetListAttribute, TList>, Sirenix.OdinInspector.Editor.IDefinesGenericMenuItems
where TList : Object, IList<TElement>
where TElement : UnityEngine.Object
}

Requirements

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

See Also

Methods

Return Type Definition Description
void DrawPropertyLayout(GUIContent) Draws the property.
void PopulateGenericMenu(InspectorProperty, GenericMenu) Populates the generic menu for the property.