DisplayAsStringAttributeDrawer<T>

Draws properties marked with DisplayAsStringAttribute. Calls the properties ToString method to get the string to draw.

namespace Sirenix.OdinInspector.Editor.Drawers
{
[Sirenix.OdinInspector.Editor.OdinDrawerAttribute]
[Sirenix.OdinInspector.Editor.AllowGUIEnabledForReadonlyAttribute]
public sealed class DisplayAsStringAttributeDrawer<T> : OdinAttributeDrawer<DisplayAsStringAttribute, T>
}

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>, DisplayAsStringAttribute, GUIContent) Draws the property.