Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ReflectedMemberProperty

Initializes a new ReflectedMemberProperty<TContainer, TValue> instance for the specified FieldInfo.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Constructor
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule

ReflectedMemberProperty(FieldInfo, string)

Initializes a new ReflectedMemberProperty<TContainer, TValue> instance for the specified FieldInfo.
public ReflectedMemberProperty(FieldInfo info, string name)

Parameters

The system reflection field info.

name

Use this name property--this might override the MemberInfo name

ReflectedMemberProperty(PropertyInfo, string)

Initializes a new ReflectedMemberProperty<TContainer, TValue> instance for the specified PropertyInfo.
public ReflectedMemberProperty(PropertyInfo info, string name)

Parameters

The system reflection property info.

name

Use this name property--this might override the MemberInfo name