UnityOnlyPropertyInfo

Contains meta-data information about a Unity-only "ghost" property in the inspector, which is only represented by a Unity SerializedProperty, and has no managed member representation at all.

namespace Sirenix.OdinInspector.Editor
{
public class UnityOnlyPropertyInfo : InspectorPropertyInfo
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 1.0.6.1

Constructors

Definition Description
UnityOnlyPropertyInfo(string, Type, Type, bool) Initializes a new instance of the UnityOnlyPropertyInfo class.

Properties

Return Type Definition Description
bool IsUnityPropertyOnly Whether this property only exists as a Unity !:SerializedProperty, and has no associated managed member to represent it.

Methods

Return Type Definition Description
Object GetValue(Object) Gets the value of this property from the given owner. This method will throw an exception.
void SetValue(Object, Object) Sets the value of this property on the given owner. This method will throw an exception.
bool TryConvertToGetterSetter<TOwner1, TValue1>(ref IValueGetterSetter<TOwner1, TValue1>) Returns false and a null getter setter.