internal PropertyOrField([NotNull] FieldInfo field, [CanBeNull] MonoBehaviourPropertyAttribute attribute) { Field = field; Property = null; IsValid = true; Attribute = attribute; }
internal PropertyOrField([NotNull] PropertyInfo property, [CanBeNull] MonoBehaviourPropertyAttribute attribute) { Field = null; Property = property; IsValid = true; Attribute = attribute; }
public MemberSetter([NotNull] FieldInfo field, [CanBeNull] MonoBehaviourPropertyAttribute attribute) { _property = null; _field = field; Attribute = attribute; IsValid = true; _valueSetter = CompileFieldSetter(field); }
public MemberSetter([NotNull] PropertyInfo property, [CanBeNull] MonoBehaviourPropertyAttribute attribute) { _property = property; _field = null; Attribute = attribute; IsValid = true; _valueSetter = CompilePropertySetter(property); }