Version 3.3.1.2

IfAttributeHelper class

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

Constructors

IfAttributeHelper(InspectorProperty, String, Boolean)
public IfAttributeHelper(InspectorProperty property, string memberName, bool defaultResult = false)
Parameters
InspectorProperty property

System.String memberName

System.Boolean defaultResult

Fields

DefaultResult
public bool DefaultResult

Properties

ErrorMessage
public string ErrorMessage { get; }

Methods

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

Returns
System.Boolean