Version 2.1.0.0

SerializedPropertyUtilities class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public static class SerializedPropertyUtilities
Not yet documented.
Inheritance
  • System.Object
  • SerializedPropertyUtilities

Methods

CanSetGetValue(Type)
Not yet documented.
public static bool CanSetGetValue(Type type)
Parameters
System.Type type

Returns
System.Boolean

GetProperTypeName(SerializedProperty)
Not yet documented.
public static string GetProperTypeName(this SerializedProperty property)
Parameters
UnityEditor.SerializedProperty property

Returns
System.String

GetValueGetter<T>()
Not yet documented.
public static Func<SerializedProperty, T> GetValueGetter<T>()
Returns
System.Func<UnityEditor.SerializedProperty, T>

Type Parameters
T

GetValueSetter<T>()
Not yet documented.
public static Action<SerializedProperty, T> GetValueSetter<T>()
Returns
System.Action<UnityEditor.SerializedProperty, T>

Type Parameters
T

GuessContainedType(SerializedProperty)
Not yet documented.
public static Type GuessContainedType(this SerializedProperty property)
Parameters
UnityEditor.SerializedProperty property

Returns
System.Type

IsCompatibleWithType(SerializedProperty, Type)
Not yet documented.
public static bool IsCompatibleWithType(this SerializedProperty property, Type type)
Parameters
UnityEditor.SerializedProperty property

System.Type type

Returns
System.Boolean