AssetsOnlyAttributeDrawer<T>

Draws Unity object properties marked with AssetsOnlyAttribute.

namespace Sirenix.OdinInspector.Editor.Drawers
{
[Sirenix.OdinInspector.Editor.OdinDrawerAttribute]
[Sirenix.OdinInspector.Editor.DrawerPriorityAttribute((DrawerPriorityLevel)3)]
public sealed class AssetsOnlyAttributeDrawer<T> : OdinAttributeDrawer<AssetsOnlyAttribute, T>
where T : UnityEngine.Object
}

Requirements

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

See Also

Methods

Return Type Definition Description
void DrawPropertyLayout(IPropertyValueEntry<T>, AssetsOnlyAttribute, GUIContent) Draws the property.