PrimitiveValueConflictDrawer<T>

Evaluates all strings, enums and primitive types and ensures EditorGUI.showMixedValue is true if there are any value conflicts in the current selection.

namespace Sirenix.OdinInspector.Editor.Drawers
{
[Sirenix.OdinInspector.Editor.DrawerPriorityAttribute(0,5, 0, 0)]
[Sirenix.OdinInspector.Editor.AllowGUIEnabledForReadonlyAttribute]
public sealed class PrimitiveValueConflictDrawer<T> : OdinValueDrawer<T>, Sirenix.OdinInspector.Editor.IDefinesGenericMenuItems
}

Requirements

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

Methods

Return Type Definition Description
bool CanDrawTypeFilter(Type) Sets the drawer to only be evaluated on primitive types, strings and enums.
void DrawPropertyLayout(GUIContent) Draws the property.