OdinSerializeAttributeWarningDrawer

When first learning to use the Odin Inspector, it is common for people to misunderstand the OdinSerialize attribute, and use it in places where it does not achive the deceired goal.

This drawer will display a warning message if the OdinSerialize attribute is potentially used in such cases.

namespace Sirenix.OdinInspector.Editor.Drawers
{
[Sirenix.OdinInspector.Editor.DrawerPriorityAttribute(1000, 0, 0)]
public sealed class OdinSerializeAttributeWarningDrawer : OdinAttributeDrawer<OdinSerializeAttribute>
}

Requirements

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

See Also

  • OdinSerializeAttribute>

Methods

Return Type Definition Description
void DrawPropertyLayout(GUIContent) Draws The Property.