Version 2.1.0.0

IfAttributeHelper class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
public class IfAttributeHelper
Inheritance
  • System.Object
  • IfAttributeHelper

Constructors

IfAttributeHelper(InspectorProperty, String)
public IfAttributeHelper(InspectorProperty property, string memberName)
Parameters
InspectorProperty property

System.String memberName

Properties

ErrorMessage
public string ErrorMessage { get; }

Methods

GetValue(Object)
public bool GetValue(object value)
Parameters
System.Object value

Returns
System.Boolean

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.