public override void SetValue(object value) { var structValue = _structValueAccessor.GetValue(); _fieldInfo.SetValue(structValue, value); _structValueAccessor.SetValue(structValue); }
public void SetValue(object value) { if (Accessor == null) { Debug.LogWarning("[SetValue] Accessor is null."); } else { Accessor.SetValue(value); } }
public override void SetValue(object value) { if (!_propertyInfo.CanWrite) { return; } var structValue = _structValueAccessor.GetValue(); _propertyInfo.SetValue(structValue, value, DEFAULT_INDEX_ARRAY); _structValueAccessor.SetValue(structValue); }